JaBa/base/BaseEvent.js
2024-12-05 20:15:07 +05:00

14 lines
195 B
JavaScript

class BaseEvent {
constructor(options) {
/**
* @type {String}
*/
this.name = options.name;
/**
* @type {Boolean}
*/
this.once = options.once;
}
}
export default BaseEvent;