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

Function setup

packages/runtime-core/__tests__/rendererTemplateRef.spec.ts:22–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21 const Comp = {
22 setup() {
23 return {
24 refKey: el,
25 }
26 },
27 render() {
28 return h('div', { ref: 'refKey' })
29 },

Callers

nothing calls this directly

Calls 5

hFunction · 0.85
exposeFunction · 0.85
refFunction · 0.70
watchFunction · 0.50
emitFunction · 0.50

Tested by

no test coverage detected