- Source
Methods
(static) init() → {void}
- Source
Returns:
- Type:
- void
(static) moveScrollBar() → {void}
Move the popup's scroll bar
- Source
Returns:
- Type:
- void
(static) onButtonSelected() → {void}
Event handler for when user selected a button
- Source
Returns:
- Type:
- void
(static) onContentDataChanged() → {void}
- Source
Returns:
- Type:
- void
(static) onItemFocused() → {void}
Event handler for when user's cursor highlights an option in the option list
- Source
Returns:
- Type:
- void
(static) onItemSelected() → {void}
Once user selected an item, move cursor down to OK button
- Source
Returns:
- Type:
- void
(static) onKeyEvent(key, press) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
key | string | |
press | boolean |
- Source
Returns:
- Type:
- boolean
(static) onScrollBarFocus() → {void}
If somehow the scrollbar gains focus, set focus back to the option list
- Source
Returns:
- Type:
- void