We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b4930e commit 5800698Copy full SHA for 5800698
1 file changed
src/sound/html5/HTML5AudioSound.js
@@ -108,6 +108,10 @@ var HTML5AudioSound = new Class({
108
this.currentConfig.seek = this.audio.currentTime
109
- (this.currentMarker ? this.currentMarker.start : 0);
110
this.stopAndReleaseAudioTag();
111
+ /**
112
+ * @event Phaser.Sound.HTML5AudioSound#pause
113
+ * @param {Phaser.Sound.HTML5AudioSound} sound - Reference to the sound that emitted event.
114
+ */
115
this.emit('pause', this);
116
return true;
117
},
0 commit comments