www.webOShelp.net

Get the latest on:webOS Developers' RSS FeedwebOS Facebook page webOS Twitter Feed

Home Resources API Reference Mojo.View.advanceFocus(containingElement, optionalSelection)

Mojo.View.advanceFocus(containingElement, optionalSelection)

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

    Add Comment


      • >:o
      • :-[
      • :'(
      • :-(
      • :-D
      • :-*
      • :-)
      • :P
      • :\
      • 8-)
      • ;-)