focused([value])
Class: Menu. Method inherited from UIComponent.
Description:
If value is provided, it makes component to get or loose focus, otherwise returns boolean indicating if it has focus or not.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
boolean |
|
Returns:
If value is provided, then this is returned, otherwise boolean value is returned.
Type: boolean | this
