miso-1.8.3.0: A tasty Haskell front-end framework

Copyright(C) 2016-2018 David M. Johnson
LicenseBSD3-style (see the file LICENSE)
MaintainerDavid M. Johnson <djohnson.m@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Miso.Subscription.Window

Description

 
Synopsis

Documentation

windowCoordsSub :: ((Int, Int) -> action) -> Sub action Source #

Captures window coordinates changes as they occur and writes them to an event sink

windowSub :: MisoString -> Decoder r -> (r -> action) -> Sub action Source #

windowSub eventName decoder toAction is a subscription which parallels the attribute handler on, providing a subscription to listen to window level events.

windowSubWithOptions :: Options -> MisoString -> Decoder r -> (r -> action) -> Sub action Source #

windowSubWithOptions options eventName decoder toAction is a subscription which parallels the attribute handler on, providing a subscription to listen to window level events.