Probably the simplest implementation of the dropdown.
Dropdown model type.
open : Dropdown
Creates an open dropdown.
closed : Dropdown
Creates a closed dropdown.
view : (Dropdown -> msg) -> Dropdown -> List (Html.Attribute msg) -> List (Html msg) -> Html msg
View
trigger : (Dropdown -> msg) -> Dropdown -> List (Html.Attribute msg)
This should be attached to the element that will control dropdown opening (button, input for search, ...)