interface INode { key: string; removeListener(name: string): void; setListener(name: string,
callback: EventCallback,
eventTypes?: EventType[]): IListenerSubscription; } Properties
Methods
removeListener
- removeListener(name): void
Returns void
setListener
- setListener(name, callback, eventTypes?): IListenerSubscription
Parameters
- name: string
- callback: EventCallback
Optional
eventTypes: EventType[]
Returns IListenerSubscription
The node interface, representing the node of a tree.