SetNodePropertyCommand
Defined in: undo/commands.ts:92
Command to change a node property.
Implements
Sección titulada «Implements»Constructors
Sección titulada «Constructors»Constructor
Sección titulada «Constructor»new SetNodePropertyCommand(
model,nodeKey,propertyName,newValue):SetNodePropertyCommand
Defined in: undo/commands.ts:99
Parameters
Sección titulada «Parameters»nodeKey
Sección titulada «nodeKey»string | number
propertyName
Sección titulada «propertyName»string
newValue
Sección titulada «newValue»unknown
Returns
Sección titulada «Returns»SetNodePropertyCommand
Methods
Sección titulada «Methods»describe()
Sección titulada «describe()»describe():
string
Defined in: undo/commands.ts:120
Get a description of the command.
Returns
Sección titulada «Returns»string
Implementation of
Sección titulada «Implementation of»execute()
Sección titulada «execute()»execute():
void
Defined in: undo/commands.ts:111
Execute the command.
Returns
Sección titulada «Returns»void
Implementation of
Sección titulada «Implementation of»undo():
void
Defined in: undo/commands.ts:116
Undo the command.
Returns
Sección titulada «Returns»void