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