⬅️ Back to Table of Contents
📄 useWindowSize/component
📊 Analysis Summary
| Metric |
Count |
| 📦 Imports |
7 |
| 🟢 Vue Composition API |
1 |
| 📐 Interfaces |
2 |
📚 Table of Contents
🛠️ File Location:
📂 packages/core/useWindowSize/component.ts
📦 Imports
| Name |
Source |
UseWindowSizeOptions |
@vueuse/core |
UseWindowSizeReturn |
@vueuse/core |
Reactive |
vue |
SlotsType |
vue |
useWindowSize |
@vueuse/core |
defineComponent |
vue |
reactive |
vue |
Vue Composition API
| Name |
Type |
Reactive Variables |
Composables |
reactive |
reactive |
none |
none |
Interfaces
UseWindowSizeProps
Interface Code
export interface UseWindowSizeProps extends UseWindowSizeOptions {}
UseWindowSizeSlots
Interface Code
interface UseWindowSizeSlots {
default: (data: Reactive<UseWindowSizeReturn>) => any
}
Properties
| Name |
Type |
Optional |
Description |
default |
(data: Reactive<UseWindowSizeReturn>) => any |
✗ |
not shown |
Generated by Syntax Scribe