Module

Pha.Subscriptions

Package
purescript-pha
Repository
gbagan/purescript-pha

#eventListener Source

eventListener :: forall msg model m. String -> EventTarget -> EventHandler msg -> Update model msg m SubscriptionId

#onKeyDown Source

onKeyDown :: forall msg model m. MonadEffect m => (String -> Maybe msg) -> Update model msg m SubscriptionId

#onHashChange Source

onHashChange :: forall msg model m. MonadEffect m => (HashChangeEvent -> Maybe msg) -> Update model msg m SubscriptionId

#onResize Source

onResize :: forall msg model m. MonadEffect m => (UIEvent -> Maybe msg) -> Update model msg m SubscriptionId