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

11 lines
197 B
JavaScript
Raw Normal View History

2020-01-22 22:50:45 +01:00
export default class AudioLoadedEvent extends CustomEvent
{
constructor(filename) {
super('audioloaded', {detail: filename});
}
getFilename()
{
this.detail;
}
}