Methods
(static) center() → {void}
center the button group horizontally NOTE: this centers using the entire screen width, not the parent bounding rect
Returns:
- Type:
- void
(static) focus() → {void}
Use instead of setFocus(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