Giter Club home page Giter Club logo

elm-dialog's Introduction

THIS IS A FORK OF https://github.com/krisajenkins/elm-dialog/, WHICH DOES NOT SEEM TO BE MAINTAINED ANYMORE

Elm Dialog - A Modal Dialog Widget for Elm

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 krisajenkins/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

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.