UNPKG

@exadel/esl

Version:

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

16 lines (15 loc) 547 B
import type { ESLMedia } from './esl-media'; export interface ESLMediaHookEventInit { initiator: 'initial' | 'user' | 'system'; relatedMedia?: ESLMedia; } /** * Event class for {@link ESLMedia} hooks * (cancelable events dispatched during ESLMedia lifecycle) */ export declare class ESLMediaHookEvent extends Event implements ESLMediaHookEventInit { readonly target: ESLMedia; readonly initiator: 'initial' | 'user' | 'system'; readonly relatedMedia?: ESLMedia; constructor(type: string, init: ESLMediaHookEventInit); }