Liferay.Loader.define("frontend-js-web@5.0.31/liferay/events/EventHandler",["module","exports","require","./Disposable"],(function(e,t,s){var n;window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=(n=s("./Disposable"))&&n.__esModule?n:{default:n};class e extends l.default{constructor(){super(),this._eventHandles=[]}add(...e){for(let t=0;t<e.length;t++)this._eventHandles.push(e[t])}disposeInternal(){this._eventHandles=null}removeAllListeners(){for(let e=0;e<this._eventHandles.length;e++)this._eventHandles[e].removeListener();this._eventHandles=[]}}var d=e;t.default=d}}));
//# sourceMappingURL=EventHandler.js.map