UNPKG

vuestic-ui

Version:
7 lines (6 loc) 315 B
import { Ref } from 'vue'; /** * Used to get textarea textHeight. Uses resizeObserver and fake div, because * font family may be loaded after the component is mounted. */ export declare const useTextHeight: (textarea: Ref<HTMLTextAreaElement | undefined>, text: Ref<string | number>) => Ref<number | undefined>;