ste-core
Version:
Core files for the Strongly Typed Events project.
27 lines (26 loc) • 684 B
TypeScript
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;
}