Appearance
响应式的元素边界信息。
import { useElementBounding } from '@base-web-kits/base-tools-vue'; import { ref } from 'vue'; const el = ref(null); const { x, y, top, right, bottom, left, width, height } = useElementBounding(el);
VueUse