rakutentech/r10/1.0.1

NOTE: the latest version is 7.0.0

R10.DropDown

Craate a Dropdown using HTML select

type alias Option =
{ value : String
, text : String
}
extraCss : String -> String

This is some extra CSS that you need to add to the page if you use this module. The String argument is the colorHover

List (Attribute msg)
-> { a
| colorBackground : String
, colorFont : String
, currentValue : String
, inputHandler : String -> msg
, optionList : List Option
}
-> Type
-> Element msg

The dropdown.

List (Attribute msg)
-> { a
| colorBackground : String
, colorFont : String
, currentValue : String
, inputHandler : String -> msg
, optionList : List Option
}
-> Element msg

Slightly different version of the dropdown that has no borders.