Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
h
Function · 0.85
expose
Function · 0.85
ref
Function · 0.70
watch
Function · 0.50
emit
Function · 0.50
Tested by
no test coverage detected