Namespace | tinymce.ui |
Class | KeyboardNavigation |
This class provides basic keyboard navigation using the arrow keys to children of a component. For example, this class handles moving between the buttons on the toolbars.
Public Methods
Method | Defined By |
---|---|
KeyboardNavigation(settings:Object, dom:DOMUtils) : Create a new KeyboardNavigation instance to handle the focus for a specific element. | KeyboardNavigation |
destroy():void : Destroys the KeyboardNavigation and unbinds any focus/blur event handles it might have added. | KeyboardNavigation |
Method details
KeyboardNavigation
public function KeyboardNavigation(settings:Object, dom:DOMUtils)
Create a new KeyboardNavigation instance to handle the focus for a specific element.
Parameters
Param | Detail |
---|---|
settings:Object | the settings object to define how keyboard navigation works. |
dom:DOMUtils | the DOMUtils instance to use. |
destroy
public function destroy():void
Destroys the KeyboardNavigation and unbinds any focus/blur event handles it might have added.
Was this article helpful? Yes - No
Well, that's awkward . Would you mind opening an issue or helping us out?
Thanks for the feedback!
Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.