vuestic-ui
Version:
Vue 3 UI Framework
8 lines (7 loc) • 348 B
TypeScript
import { Component, ComponentPublicInstance } from 'vue';
/**
* Used to get the HTMLElement from template refs.
* @param el component, dom element or nothing
* @returns HTMLElement or undefined
*/
export declare const unwrapEl: <T extends HTMLElement | Component | ComponentPublicInstance | null | undefined>(el: T) => HTMLElement | undefined;