rakutentech/r10/5.0.0

NOTE: the latest version is 7.0.0

R10.DropDown

Craate a Dropdown using HTML select

type alias Option =
{ value : String
, text : String
}
extraCss : Color -> String
List (Attribute (ContextInternal z) msg)
-> { a
| colorBackground : Color
, colorFont : Color
, currentValue : String
, inputHandler : String -> msg
, optionList : List Option
, fontSize : Int
}
-> Type
-> Element (ContextInternal z) msg

The dropdown.

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

Slightly different version of the dropdown that has no borders.