Module

Pha.Subs

Package
purescript-pha
Repository
gbagan/purescript-pha

#Canceler Source

#makeSub Source

makeSub :: forall msg d. ((msg -> Effect Unit) -> d -> Effect Canceler) -> d -> Sub msg

#on Source

on :: forall msg. String -> Decoder msg -> Sub msg

#on' Source

on' :: forall msg. String -> Decoder (Maybe msg) -> Sub msg

#onKeyDown Source

onKeyDown :: forall msg. (String -> Maybe msg) -> Sub msg

#onAnimationFrame Source

onAnimationFrame :: forall msg. (Number -> msg) -> Sub msg