UNPKG

ste-core

Version:
27 lines (26 loc) 684 B
import { IEventManagement } from "./IEventManagement"; /** * Allows the user to interact with the event. * * @export * @class EventManagement * @implements {IEventManagement} */ export declare class EventManagement implements IEventManagement { unsub: () => void; propagationStopped: boolean; /** * Creates an instance of EventManagement. * @param {() => void} unsub An unsubscribe handler. * * @memberOf EventManagement */ constructor(unsub: () => void); /** * Stops the propagation of the event. * Cannot be used when async dispatch is done. * * @memberOf EventManagement */ stopPropagation(): void; }