Methods
(static) focusChanged() → {void}
Change opacity of the highlighted menu item based on focus
Returns:
- Type:
- void
(static) highlightSelected(index, animateopt) → {void}
Highlight selected menu option
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
index | integer | |||
animate | dynamic | <optional> | true |
Returns:
- Type:
- void
(static) init() → {void}
Returns:
- Type:
- void
(static) onKeyEvent(key, press) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
key | string | |
press | boolean |
Returns:
- Type:
- boolean
(static) renderChanged() → {void}
When options are fully displayed, set focus and selected option
Returns:
- Type:
- void
(static) selectedIndexChanged() → {void}
When Selected Index set, ensure it is the one Focused
Returns:
- Type:
- void
(static) showButtons() → {void}
Returns:
- Type:
- void
(static) updateButtons() → {void}
Returns:
- Type:
- void