This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
2.0.0
Drag and Drop utilities for the Modular Ui framework.
version 1.0.0
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.0
Committed At 2018-07-28 16:58:33 UTC
elm-lang/virtual-dom 2.0.4 <= v < 3.0.0 2.0.4
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1
danielnarey/elm-toolkit 6.2.0 <= v < 7.0.0 6.2.0
danielnarey/elm-semantic-dom 3.0.0 <= v < 4.0.0 3.0.0
danielnarey/elm-modular-ui 1.0.2 <= v < 2.0.0 1.1.0

Modules

README

Ui.DragDrop

This library makes it easy to implement HTML5 drag-and-drop operations with Elm and @danielnarey's Modular Ui framework.

Ui.Element nodes can be made draggable and droppable, with the state represented by an opaque object you can store in your model.

Each draggable/droppable element should correspond to some kind of id. This could be an (id for an) item in a list, a tag value from a type representing the various draggable/droppable elements, or whatever you want.

Your application must provide messages for each of the events triggered by this framework. The library provides helper methods to query and update the current state.

More documentation, examples, and tests coming soon!