(instance: ComponentInstance, maxDepth = -1, filter: string = null, recursively = false)
| 94 | } |
| 95 | |
| 96 | async walkComponentTree(instance: ComponentInstance, maxDepth = -1, filter: string = null, recursively = false) { |
| 97 | const payload = await this.callHook(Hooks.WALK_COMPONENT_TREE, { |
| 98 | componentInstance: instance, |
| 99 | componentTreeData: null, |
| 100 | maxDepth, |
| 101 | filter, |
| 102 | recursively, |
| 103 | }) |
| 104 | return payload.componentTreeData |
| 105 | } |
| 106 | |
| 107 | async visitComponentTree(instance: ComponentInstance, treeNode: ComponentTreeNode, filter: string = null, app: App) { |
| 108 | const payload = await this.callHook(Hooks.VISIT_COMPONENT_TREE, { |
no test coverage detected