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