Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NamedTransformationData

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.

name

name: string

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.

Generated using TypeDoc