Elm modal dialog boxes that fits in neatly with the Elm architecture.
- ✓ Fit in neatly with the Elm architecture.
- ✓ Dialogs should have all the power of regular views.
- ✓ Dialogs should work equally well with sub-components and sub-sub-...-components.
- Dialogs should not rely on external CSS. (Not yet. Still relies on Bootstrap.)
- Dialogs should be optionally animated. (Not yet. It's straightforward but not documented/demo'd.)
See the examples/
directory for two fully-worked examples:
examples/Simple/App.elm
(live demo)examples/Advanced/App.elm
(live demo)
From your top-level directory - the one with elm-package.json
in - call:
$ elm package install krisajenkins/elm-dialog
See the Elm package for full usage docs.
make
...will run the whole build and test suite.
Thanks to Emilien Taque for ideas & support.
Copyright © 2016 Kris Jenkins
Distributed under the MIT license.