onShortcut([callback], [remove])
Class: PasswordField. Method inherited from UIComponent.
Description:
Gets, registers or unregisters a handler function for component's ShortcutEvent when a shortcut is invoked.
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
|
|
function |
The event handler function that receives a ShortcutEvent object. Pass |
|
|
|
boolean |
false |
Set to |
Returns:
Type: Array.<function()> | UIComponent
