MCPcopy
hub / github.com/buqiyuan/vite-vue3-lowcode / registerRef

Function registerRef

src/hooks/useGlobalProperties.ts:21–21  ·  view source on GitHub ↗
(el, _vid: string)

Source from the content-addressed store, hash-verified

19 .globalProperties as GlobalProperties;
20
21 const registerRef = (el, _vid: string) => el && (globalProperties.$$refs[_vid] = el);
22
23 return {
24 globalProperties,

Callers 15

index.tsxFile · 0.85
renderFunction · 0.85
index.tsxFile · 0.85
index.tsxFile · 0.85
index.tsxFile · 0.85
index.tsxFile · 0.85
index.tsxFile · 0.85
index.tsxFile · 0.85
index.tsxFile · 0.85
index.tsxFile · 0.85
index.tsxFile · 0.85
index.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected