Method
visitComponentTree
(instance: ComponentInstance, treeNode: ComponentTreeNode, filter: string = null, app: App)
Source from the content-addressed store, hash-verified
| 105 | } |
| 106 | |
| 107 | async visitComponentTree(instance: ComponentInstance, treeNode: ComponentTreeNode, filter: string = null, app: App) { |
| 108 | const payload = await this.callHook(Hooks.VISIT_COMPONENT_TREE, { |
| 109 | app, |
| 110 | componentInstance: instance, |
| 111 | treeNode, |
| 112 | filter, |
| 113 | }) |
| 114 | return payload.treeNode |
| 115 | } |
| 116 | |
| 117 | async walkComponentParents(instance: ComponentInstance) { |
| 118 | const payload = await this.callHook(Hooks.WALK_COMPONENT_PARENTS, { |
Tested by
no test coverage detected