This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
A modal dialog widget for Elm.
version 5.0.0
license MIT
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 5.0.0
Committed At 2018-01-01 10:34:45 UTC
krisajenkins/elm-exts 26.1.0 <= v < 28.0.0 27.4.0
etaque/elm-response 3.0.0 <= v < 4.0.0 3.1.0
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

Modules

README

Elm Dialog - A Modal Dialog Widget for Elm

This is a fork of krisajenkins/elm-dialog which aims to support WAI-ARIA.

Elm modal dialog boxes that fits in neatly with the Elm architecture.

Aims

  • ✓ 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.)

Examples

Screenshot

See the examples/ directory for two fully-worked examples:

Installation

From your top-level directory - the one with elm-package.json in - call:

$ elm package install jackwillis/elm-dialog

Usage

See the Elm package for full usage docs.

Migration

v3 to v4

v4 version added a containerClass field to the Config record. You can set this to containerClass = Nothing until you need it.

Building

With node-test-runner installed,

make

will run the whole build and test suite.

Credits

Thanks to Emilien Taque for ideas & support. Thanks to Mike Onslow for the containerClass feature.

License

Copyright © 2016 Kris Jenkins

Distributed under the MIT license.