Mouse position: Difference between revisions
Content deleted Content added
No edit summary |
|||
Line 295: | Line 295: | ||
=={{header|Elm}}== |
=={{header|Elm}}== |
||
<lang elm> |
<lang elm>import Graphics.Element exposing (Element, show) |
||
import Mouse |
|||
main : Signal Element |
|||
main = |
main = |
||
Signal.map show Mouse.position</lang> |
Signal.map show Mouse.position</lang> |