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