documentationfor yFiles for HTML 2.6

TextEditorInputMode

An IInputMode implementation that displays a textarea in the CanvasComponent to let the user edit a text.

Inheritance Hierarchy
TextEditorInputMode
Implemented Interfaces

Remarks

Hitting escape or enter will cancel or stop editing.

This mode is exclusive by default.

Examples

Typically the TextEditorInputMode is installed as child mode of a GraphEditorInputMode and can be retrieved from the textEditorInputMode property.
Getting the TextEditorInputMode from its parent input mode
const textEditorInputMode = mode.textEditorInputMode

Type Details

yfiles module
view-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.input.TextEditorInputMode

See Also

Constructors

Properties

Methods

Events