Skip to content

useOnline

Category
Export Size
308 B
Last Changed
5 days ago

Reactive online state

Demo

Usage

tsx
import { 
useOnline
} from '@reause/core'
const
online
=
useOnline
() // boolean

Type Declarations

ts
export function useOnline(options?: ConfigurableWindow): boolean

Source

Source · Demo · VueUse

Contributors

hairyf

Changelog

v0.1.0 on
d6bb6 - fix(core): resolve useOnline audit findings (#612)

Released under the MIT License. v0.1.8