Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface InsertTextTransformationData

Hierarchy

Index

Properties

Properties

Optional e

The JavaScript event that triggered the transformation, if any.

Optional moveCaretTo

moveCaretTo: DLoc

A position to which the caret is moved before the transformation is fired. Wed performs the move. Should be set by the code that invokes the transformation.

Optional name

name: undefined | string

The name of the node to add, remove, etc. Should be set by the code that invokes the transformation.

Optional node

node: Node

The node to operate on. Should be set by the code that invokes the transformation. This may be undefined if the transformation should rely on the caret position.

text

text: string

Generated using TypeDoc