IActionContext
mobx-state-tree - v7.0.1 › IActionContext
Hierarchy
IActionContext
Index
Properties
Properties
args
• args: any[]
Defined in src/core/actionContext.ts:20
Event arguments in an array (action arguments for actions)
context
• context: IAnyStateTreeNode
Defined in src/core/actionContext.ts:15
Event context (node where the action was invoked)
id
• id: number
Defined in src/core/actionContext.ts:9
Event unique id
name
• name: string
Defined in src/core/actionContext.ts:6
Event name (action name for actions)
parentActionEvent
• parentActionEvent: IMiddlewareEvent | undefined
Defined in src/core/actionContext.ts:12
Parent action event object
tree
• tree: IAnyStateTreeNode
Defined in src/core/actionContext.ts:17
Event tree (root node of the node where the action was invoked)