achutkiran/material-components-elm/1.0.0

NOTE: the latest version is 1.2.1

Mwc.CheckBox

Material Checkbox. It is elm wrapper for Material Web components Checkbox Used Elm-css for Styling

checked : Bool -> Property msg

Checks the checkbox

disabled : Bool -> Property msg

Disables checkbox

extraAttributes : List (Attribute msg) -> Property msg

Additional properties like css

indeterminate : Bool -> Property msg

makes checkbox in indeterminate state

onToggle : msg -> Property msg

OnToggle event

value : String -> Property msg

sets value to checkbox

view : List (Property msg) -> Html msg

renders checkbox