www.webOShelp.net

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

Home Resources API Reference Mojo.View.makeFocusable(targetElement)

Mojo.View.makeFocusable(targetElement)

Marks an element as focusable. Currently implemented by adding a tabindex attribute of value "0".

Parameter Type Description
targetElement Element Element to make focusable.

Example usage:

            var editor = this.controller.element;
            editor.setStyle(this.RICH_TEXT_STYLES);
            Mojo.View.makeFocusable(editor);
 

0 Comments

    Add Comment


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