UNPKG

tdesign-mobile-vue

Version:
10 lines (9 loc) 314 B
import { Ref } from 'vue'; export interface UseElementHeightOptions { immediate?: boolean; resizeObserver?: boolean; } export default function useElementHeight(target: Ref<HTMLElement | undefined>, options?: UseElementHeightOptions): { height: Ref<number>; calculateHeight: () => Promise<void>; };