4{-| Library for working with mouse input.
10@docs isDown, clicks, isClicked
17{-| The current mouse position. -}
18position : Signal (Int,Int)
19position = Native.Mouse.position
21{-| The current x-coordinate of the mouse. -}
25{-| The current y-coordinate of the mouse. -}
29{-| The current state of the left mouse-button.
30True when the button is down, and false otherwise. -}
32isDown = Native.Mouse.isDown
34{-| True immediately after the left mouse-button has been clicked,
35and false otherwise. -}
36isClicked : Signal Bool
37isClicked = Native.Mouse.isClicked
39{-| Always equal to unit. Event triggers on every mouse click. -}
41clicks = Native.Mouse.clicks
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list