UNPKG

@exadel/esl

Version:

Exadel Smart Library (ESL) is the lightweight custom elements library that provide a set of super-flexible components

15 lines (14 loc) 348 B
/** * Event class for {@link ESLMedia} hooks * (cancelable events dispatched during ESLMedia lifecycle) */ export class ESLMediaHookEvent extends Event { constructor(type, init) { super(type, { bubbles: true, cancelable: true, composed: true }); Object.assign(this, init); } }