elm-dropdown
A dropdown component built in Elm.
API
The component accepts the following params:
value
(String
) - Initial value for the DDvaluesList
(List String
) - List of values to be fed in as the DD optionsplaceholder
(String
) - Placeholder value for the DDisOpen
(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-dropdown
.