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