(vm: ComponentInstance)
| 105 | } |
| 106 | |
| 107 | export function afterRender(vm: ComponentInstance) { |
| 108 | const stack = [(vm as any)._vnode as VNode] |
| 109 | while (stack.length) { |
| 110 | const vnode = stack.pop() |
| 111 | if (vnode) { |
| 112 | if (vnode.context) updateTemplateRef(vnode.context) |
| 113 | if (vnode.children) { |
| 114 | for (let i = 0; i < vnode.children.length; ++i) { |
| 115 | stack.push(vnode.children[i]) |
| 116 | } |
| 117 | } |
| 118 | } |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | export function updateVmAttrs(vm: ComponentInstance, ctx?: SetupContext) { |
| 123 | if (!vm) { |
no test coverage detected
searching dependent graphs…