peb
Version:
Peb.js makes JS easier
17 lines (15 loc) • 441 B
Markdown
# Constructor `QuickAudio`
~~The last updated version of this function: *3.0.0-pre.3*~~
This method has been **deprecated**. Will be removed in 4.0.0.
## Construct
```javascript
new peb.QuickAudio(url)
```
Use JavaScript to play audio
## Object Method
### `destroy(obj)`
Destroy the `obj` object and delete the cache on the DOM
### `play()`, `pause()`
DUH...
### `loop(b)`
Change the loop mode to `b`. Accepted values are `true` or `false`