Preparing search index...
The search index is not available
turbox - v1.0.0
turbox
packages/reactivity/src
Action
Class Action
Index
Constructors
constructor
Properties
display
Name
history
Node
name
status
context?
Methods
abort
complete
execute
redo
undo
abort
All
create
get
Constructors
constructor
new
Action
(
)
:
Action
Returns
Action
Properties
display
Name
display
Name
:
string
= EMPTY_ACTION_NAME
history
Node
history
Node
:
HistoryNode
= ...
name
name
:
string
status
status
:
ActionStatus
= ActionStatus.WORKING
Static
Optional
context
context
?:
Action
Methods
abort
abort
(
revert
?
)
:
void
Parameters
revert
:
boolean
= true
Returns
void
complete
complete
(
)
:
void
Returns
void
execute
execute
(
runner
,
payload
?
,
isWrapMutation
?
,
options
?
)
:
void
|
Promise
<
void
>
Parameters
runner
:
(
(
...
payload
)
=>
void
|
Promise
<
void
>
)
(
...
payload
)
:
void
|
Promise
<
void
>
Parameters
Rest
...
payload
:
any
[]
Returns
void
|
Promise
<
void
>
payload
:
any
[]
= []
isWrapMutation
:
boolean
= true
Optional
options
:
MutationConfig
Returns
void
|
Promise
<
void
>
redo
redo
(
keepHistory
?
)
:
void
Parameters
keepHistory
:
boolean
= false
Returns
void
undo
undo
(
keepHistory
?
)
:
void
Parameters
keepHistory
:
boolean
= false
Returns
void
Static
abort
All
abort
All
(
revert
?
)
:
void
Parameters
revert
:
boolean
= true
Returns
void
Static
create
create
(
name
,
displayName
?
)
:
Action
Parameters
name
:
string
Optional
displayName
:
string
Returns
Action
Static
get
get
(
...
args
)
:
Action
[]
Parameters
Rest
...
args
:
string
[]
Returns
Action
[]
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
display
Name
history
Node
name
status
context
abort
complete
execute
redo
undo
abort
All
create
get
turbox - v1.0.0
packages/command-manager/src
packages/design-engine/src
packages/event-manager/src
packages/graphic-component-pixi/src
packages/graphic-component-three/src
packages/math/src
packages/reactivity-react/src
packages/reactivity/src
packages/renderer-core/src
packages/renderer-pixi/src
packages/renderer-three/src
packages/shared/src
packages/turbox/src
packages/turbox2d/src
packages/turbox3d/src
plugins/turbox-dev-tool/src
plugins/turbox-hot-loader/src
Generated using
TypeDoc