engine/view/uielement
module
Classes
-
module:engine/view/uielement~ViewUIElement
Functions
-
injectUiElementHandling( view ) → void
internalmodule:engine/view/uielement~injectUiElementHandling
This function injects UI element handling to the given document.
A callback is added to document keydown event. The callback handles the situation when right arrow key is pressed and selection is collapsed before a UI element. Without this handler, it would be impossible to "jump over" UI element using right arrow key.
Parameters
view : EditingView
View controller to which the quirks handling will be injected.
Returns
void