MCPcopy
hub / github.com/vuejs/core / setVars

Function setVars

packages/runtime-dom/src/helpers/useCssVars.ts:44–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 }
43
44 const setVars = () => {
45 const vars = getter(instance.proxy)
46 if (instance.ce) {
47 setVarsOnNode(instance.ce as any, vars)
48 } else {
49 setVarsOnVNode(instance.subTree, vars)
50 }
51 updateTeleports(vars)
52 }
53
54 // handle cases where child component root is affected
55 // and triggers reflow in onMounted

Callers

nothing calls this directly

Calls 3

setVarsOnNodeFunction · 0.85
setVarsOnVNodeFunction · 0.85
getterFunction · 0.50

Tested by

no test coverage detected