⬅️ Back to Table of Contents
📄 useElementSize/component
📊 Analysis Summary
| Metric |
Count |
| 📦 Imports |
13 |
| 🟢 Vue Composition API |
1 |
| 📐 Interfaces |
2 |
📚 Table of Contents
🛠️ File Location:
📂 packages/core/useElementSize/component.ts
📦 Imports
| Name |
Source |
ElementSize |
@vueuse/core |
RenderableComponent |
@vueuse/core |
UseElementSizeReturn |
@vueuse/core |
UseResizeObserverOptions |
@vueuse/core |
Reactive |
vue |
SlotsType |
vue |
useElementSize |
@vueuse/core |
defineComponent |
vue |
h |
vue |
reactive |
vue |
shallowRef |
vue |
toRefs |
vue |
toValue |
vue |
Vue Composition API
| Name |
Type |
Reactive Variables |
Composables |
reactive |
reactive |
none |
none |
Interfaces
UseElementSizeProps
Interface Code
export interface UseElementSizeProps extends Partial<ElementSize>, UseResizeObserverOptions, RenderableComponent {}
UseElementSizeSlots
Interface Code
interface UseElementSizeSlots {
default: (data: Reactive<UseElementSizeReturn>) => any
}
Properties
| Name |
Type |
Optional |
Description |
default |
(data: Reactive<UseElementSizeReturn>) => any |
✗ |
not shown |
Generated by Syntax Scribe