Module

Signal.DOM

Package
purescript-zeta-extra
Repository
athanclark/purescript-zeta-extra

#keyPressed Source

keyPressed :: Int -> Effect (Signal (read :: READ, write :: WRITE) Boolean)

#mouseButton Source

mouseButton :: Int -> Effect (Signal (read :: READ, write :: WRITE) Boolean)

#Touch Source

type Touch = { id :: String, screenX :: Int, screenY :: Int, clientX :: Int, clientY :: Int, pageX :: Int, pageY :: Int, radiusX :: Int, radiusY :: Int, rotationAngle :: Number, force :: Number }

#touch Source

touch :: Effect (Signal (read :: READ, write :: WRITE) (Array Touch))

#tap Source

tap :: Effect (Signal (read :: READ, write :: WRITE) Boolean)

#mousePos Source

mousePos :: Effect (Signal (read :: READ, write :: WRITE) { x :: Int, y :: Int })

#animationFrame Source

animationFrame :: Effect (Signal (read :: READ, write :: WRITE) Instant)

#windowDimensions Source

windowDimensions :: Effect (Signal (read :: READ, write :: WRITE) { w :: Int, h :: Int })