-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose icons as an option and create a new option to set icon color #146
Conversation
src/DPlayer.js
Outdated
@@ -33,6 +33,8 @@ class DPlayer { | |||
|
|||
this.tran = new i18n(this.options.lang).tran; | |||
|
|||
this.icons = new Svg(this.options); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Svg
seems to represent a single svg instead of a collection of svg, maybe change it to SvgCollection or other name to make it more semantic.
Apart from the naming, others are LGTM. And don't forget documents for the new options. |
Thanks for the feedback @micooz |
Expose icons as an option and create a new option to set icon color
Expose icons as an option and create a new option to set icon color
No description provided.