Advances the current text focus to the next focusable element in containingElement, or sets it to the first focusable element in the container if nothing in the container currently has focus.
Parameter | Type | Description |
---|---|---|
containingElement | String | Element in which to advance focus. |
optionalSelection | Element | Element that will be used as the currently focused element if no element in containingElement currently has focus. Optional. |
Example usage:
Mojo.View.advanceFocus(this.controller.scene.sceneElement, this.inputArea);
0 Comments