Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vuejs/core
/ useSlots
Function
useSlots
packages/runtime-core/src/apiSetupHelpers.ts:415–417 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
413
}
414
415
export
function
useSlots(): SetupContext[
'slots'
] {
416
return
getContext(
'useSlots'
).slots
417
}
418
419
export
function
useAttrs(): SetupContext[
'attrs'
] {
420
return
getContext(
'useAttrs'
).attrs
Callers
3
setup
Function · 0.90
render
Function · 0.85
setupHelpers.test-d.ts
File · 0.85
Calls
1
getContext
Function · 0.85
Tested by
2
setup
Function · 0.72
render
Function · 0.68