Module

Vscode.Events

Package
purescript-whine-core
Repository
collegevine/purescript-whine

#EventHandle Source

newtype EventHandle target a result

#EventResult Source

#eventHandle Source

eventHandle :: forall @target @a @result. CanReceiveFromJavaScript a => EventResult result => String -> EventHandle target a result

#on Source

on :: forall target a result m. MonadEffect m => CanReceiveFromJavaScript a => EventResult result => EventHandle target a result -> (a -> Effect result) -> target -> m Unit