Guide
Links
Core
Add-ons
Versions
Appearance
Reactive state to show whether the mouse leaves the page
import { usePageLeave } from '@reause/core' const isLeft = usePageLeave() // boolean
export function usePageLeave(options?: ConfigurableWindow): boolean
Source · Demo · VueUse
v0.1.0
3a129