Skip to content

Commit bf3c0a2

Browse files
Added stop method docs
1 parent 1c21a09 commit bf3c0a2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/sound/html5/HTML5AudioSound.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,12 @@ var HTML5AudioSound = new Class({
130130
this.emit('resume', this);
131131
return true;
132132
},
133+
/**
134+
* Stop playing this sound.
135+
*
136+
* @method Phaser.Sound.HTML5AudioSound#stop
137+
* @returns {boolean} Whether the sound was stopped successfully.
138+
*/
133139
stop: function () {
134140
if (this.manager.isLocked(this, 'stop')) {
135141
return false;

0 commit comments

Comments
 (0)