Interface EventSource<EM>
Hierarchy-Diagram
Legend
interface
public property
public method
Methods
addEventListener
- addEventListener<E extends string | number | symbol>(event: E, listener: cockpit.EventListener<EM[E]>): void
Type Parameters
- E extends string | number | symbol
Returns void
dispatchEvent
- dispatchEvent<E extends string | number | symbol>(event: E, ...args: Parameters<EM[E]>): void
Type Parameters
- E extends string | number | symbol
Returns void
removeEventListener
- removeEventListener<E extends string | number | symbol>(event: E, listener: cockpit.EventListener<EM[E]>): void
Type Parameters
- E extends string | number | symbol
Returns void