jjagielka/select-menu/1.0.1

Menu.Dropdown

Probably the simplest implementation of the dropdown.

Types

Operations

Creation

Creates an open dropdown.

Creates a closed dropdown.

View

(Dropdown -> msg)
-> List (Attribute msg)
-> List (Html msg)
-> Html msg

View

Control

trigger : (Dropdown -> msg) -> Dropdown -> List (Attribute msg)

This should be attached to the element that will control dropdown opening (button, input for search, ...)