v1.1.0
Props make better sense now
After thinking over what props that a music player should handle, here comes v1.1.0 with some api changes that we recommend every user to update.
- Updates on props
- Mobile touch support
display
slot support
Props changes
music
now only accepts a single Object, which represents the current playing music. For music list, use newlist
prop. Now you can change current playing music in a way easier to understand - change the music object.
Improvements
- Progress bar and volume control now supports dragging on mobile devices.
- Handle promises returned by
audio
apis. Thank @ericdrobinson for mentioning this.