MCPcopy
hub / github.com/vueuse/vueuse / unrefElement

Function unrefElement

packages/core/unrefElement/index.ts:16–19  ·  view source on GitHub ↗
(elRef: MaybeComputedElementRef<T>)

Source from the content-addressed store, hash-verified

14 * @param elRef
15 */
16export function unrefElement<T extends MaybeElement>(elRef: MaybeComputedElementRef<T>): UnRefElementReturn<T> {
17 const plain = toValue(elRef)
18 return (plain as VueInstance)?.$el ?? plain
19}

Callers 15

updateFunction · 0.90
useEventListenerFunction · 0.90
shouldIgnoreFunction · 0.90
listenerFunction · 0.90
onClickOutsideFunction · 0.90
useIntersectionObserverFunction · 0.90
updateFunction · 0.90
setupFunction · 0.90
useResizeObserverFunction · 0.90
useCssVarFunction · 0.90
useAnimateFunction · 0.90

Calls

no outgoing calls

Tested by 1

setupFunction · 0.72