onError([callback])

Class: Label. Method inherited from UIComponent.

Description:

Overrides current error handler.

Parameters:

Name Type Description

[callback]

function

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

Returns:

Type: this

Also See: