Module

FRP.Behavior.Mouse

Package
purescript-behaviors
Repository
paf31/purescript-behaviors

#position Source

position :: Behavior (Maybe { x :: Int, y :: Int })

A Behavior which reports the current mouse position, if it is known.

#buttons Source

buttons :: Behavior (Set Int)

A Behavior which reports the mouse buttons which are currently pressed.