onDispose([callback], [remove])

Class: SplitView. Method inherited from UIComponent.

Description:

Registers or unregisters a handler function for an event when the component gets disposed, either by calling destroy() method or loosing all references to the component.

Parameters:

Name Type Default Description

[callback]

function

The event handler function receiving DisposeEvent object. Pass null to unregister all handler functions.

[remove]

boolean

false

Set to true to remove this event handler

Returns:

Type: this

Also See: