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