mr-crocs-adventures/js/events/AudioLoadedEvent.js
2020-01-22 22:50:45 +01:00

11 lines
197 B
JavaScript

export default class AudioLoadedEvent extends CustomEvent
{
constructor(filename) {
super('audioloaded', {detail: filename});
}
getFilename()
{
this.detail;
}
}