SelectionChangeEvent Class

An event broadcasted on selection changes

Extends

Inherited methods

Name Inherited from Description
addListener(listener: SelectionChangesListener, scope?: any): () => void BeEvent<SelectionChangesListener> Registers a Listener to be executed whenever this event is raised.
addOnce(listener: SelectionChangesListener, scope?: any): () => void BeEvent<SelectionChangesListener> Registers a callback function to be executed only once when the event is raised.
clear(): void BeEvent<SelectionChangesListener> Clear all Listeners from this BeEvent.
has(listener: SelectionChangesListener, scope?: any): boolean BeEvent<SelectionChangesListener> Determine whether this BeEvent has a specified listener registered.
raiseEvent(...args: any[]): void BeEvent<SelectionChangesListener> Raises the event by calling each registered listener with the supplied arguments.
removeListener(listener: SelectionChangesListener, scope?: any): boolean BeEvent<SelectionChangesListener> Un-register a previously registered listener.

Inherited properties

Name Type Inherited from Description
numberOfListeners Accessor ReadOnly number BeEvent<SelectionChangesListener> The number of listeners currently subscribed to the event.

Defined in

Last Updated: 13 June, 2024