miso
Copyright(C) 2016-2025 David M. Johnson
LicenseBSD3-style (see the file LICENSE)
MaintainerDavid M. Johnson <code@dmj.io>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Miso.Subscription.OnLine

Description

 
Synopsis

Subscriptions

onLineSub :: (Bool -> action) -> Sub action Source #

Returns Subscription for the navigator.onLine API.

https://developer.mozilla.org/en-US/docs/Web/API/Navigator/onLine