This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
1.0.0 1.0.1
Elm dropdown component
version 1.0.1
license MIT
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.2
Committed At 2017-01-06 10:59:34 UTC
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-dropdown

A dropdown component built in Elm.

API

The component accepts the following params:

  1. value (String) - Initial value for the DD
  2. valuesList (List String) - List of values to be fed in as the DD options
  3. placeholder (String) - Placeholder value for the DD
  4. isOpen (Bool) - If the DD is open or not

Usage

For how to use, check the /Example/Example.elm file.

Custom styles

The component comes with a Dropdown.css file. Style changes should happen there. It's namespaced elm-dorpdown.