We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a521d86 commit 66081c7Copy full SHA for 66081c7
src/Browser/Events.elm
@@ -144,8 +144,12 @@ onClick =
144
on Document "click"
145
146
147
-{-| Subscribe to mouse moves anywhere on screen. You could use this to implement
148
-drag and drop.
+{-| Subscribe to mouse moves anywhere on screen.
+
149
+You could use this to implement resizable panels like in Elm's online code
150
+editor. Check out the example imprementation [here][drag].
151
152
+[drag]: https://github.com/elm/browser/blob/1.0.2/examples/src/Drag.elm
153
154
**Note:** Unsubscribe if you do not need these events! Running code on every
155
single mouse movement can be very costly, and it is recommended to only
0 commit comments