new API: APlayer.version
This commit is contained in:
@@ -126,6 +126,8 @@ const ap = new APlayer({
|
||||
|
||||
## API
|
||||
|
||||
+ `APlayer.version`: static property, return the version of APlayer
|
||||
|
||||
+ `ap.play()`: play audio
|
||||
|
||||
+ `ap.pause()`: pause audio
|
||||
|
||||
@@ -127,6 +127,8 @@ const ap = new APlayer({
|
||||
|
||||
## API
|
||||
|
||||
+ `APlayer.version`: 静态属性, 返回 APlayer 的版本号
|
||||
|
||||
+ `ap.play()`: 播放音频
|
||||
|
||||
+ `ap.pause()`: 暂停音频
|
||||
|
||||
Reference in New Issue
Block a user