--- category: Component --- # unrefElement Retrieves the underlying DOM element from a Vue ref or component instance ## Usage ```vue ``` ## Type Declarations ```ts export type VueInstance = ComponentPublicInstance; export type MaybeElementRef = MaybeRef; export type MaybeComputedElementRef = MaybeRefOrGetter; export type MaybeElement = HTMLElement | SVGElement | VueInstance | undefined | null; export type UnRefElementReturn = T extends VueInstance ? Exclude : T | undefined; /** * Get the dom element of a ref of element or Vue component instance * * @param elRef */ export declare function unrefElement( elRef: MaybeComputedElementRef, ): UnRefElementReturn; ```