⬅️ Back to Table of Contents
📄 usePointer/component
📊 Analysis Summary
| Metric |
Count |
| 📦 Imports |
9 |
| 🟢 Vue Composition API |
1 |
| 📐 Interfaces |
2 |
📚 Table of Contents
🛠️ File Location:
📂 packages/core/usePointer/component.ts
📦 Imports
| Name |
Source |
UsePointerOptions |
@vueuse/core |
UsePointerReturn |
@vueuse/core |
Reactive |
vue |
SlotsType |
vue |
defaultWindow |
@vueuse/core |
usePointer |
@vueuse/core |
defineComponent |
vue |
reactive |
vue |
shallowRef |
vue |
Vue Composition API
| Name |
Type |
Reactive Variables |
Composables |
reactive |
reactive |
none |
none |
Interfaces
UsePointerProps
Interface Code
export interface UsePointerProps extends Omit<UsePointerOptions, 'target'> {
target?: 'window' | 'self'
}
Properties
| Name |
Type |
Optional |
Description |
target |
'window' \| 'self' |
✓ |
not shown |
UsePointerSlots
Interface Code
interface UsePointerSlots {
default: (data: Reactive<UsePointerReturn>) => any
}
Properties
| Name |
Type |
Optional |
Description |
default |
(data: Reactive<UsePointerReturn>) => any |
✗ |
not shown |
Generated by Syntax Scribe