mr-crocs-adventures/js/events/AudioLoadedEvent.js

11 lines
197 B
JavaScript

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