Action
Action is a collection of transactions, which can be undone/redone as a whole.
Constructors
new Action()
new Action(
name
):Action
Parameters
• name: string
Returns
Source
Properties
name
name:
string
Source
transactions
transactions:
Transaction
[]
Source
Methods
apply()
apply(
transform
):void
Parameters
• transform: Transform
Returns
void
Source
push()
push(
tx
):void
Parameters
• tx: Transaction
Returns
void
Source
unapply()
unapply(
transform
):void
Parameters
• transform: Transform
Returns
void