Private
_inPrivate
_revertiblePrivate
_treePrivate
_updateReadonly
actionsPrivate
addReadonly
behaviorsReadonly
cellsPrivate
clearProtected
errorPrivate
evReadonly
eventsReadonly
globalPrivate
historyPrivate
historyPrivate
inPrivate
inPrivate
revertedReadonly
runPrivate
spinePrivate
undoingPrivate
updatePrivate
updateCreates a Task that applies the specified StateAction (i.e. must use run* on the result) If no ref is specified, apply to root.
Optional
ref: stringSelect Cells using the provided selector.
state.query(StateSelection.Generators.byRef('test').ancestorOfType(type))
state.query('test')
Select Cells by building a query generated on the fly.
state.select(q => q.byRef('test').subtree())
Apply series of updates to the state. If any of them fail, revert to the original state.
Optional
options: { canUndo?: string | boolean; rethrowErrors?: boolean }Optional
canOptional
rethrowQueues up a reconciliation of the existing state tree.
If the tree is StateBuilder.To
Tree instance or a tree builder instance
Optional
options: Partial<<internal>.State.UpdateOptions>Optional
options: Partial<<internal>.State.UpdateOptions>Generated using TypeDoc
Determines whether the state is currently "inside" updateTree function. This is different from "isUpdating" which wraps entire transactions.