achutkiran / material-components-elm / Mwc.CheckBox

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

checked : Basics.Bool -> Property msg

Checks the checkbox

disabled : Basics.Bool -> Property msg

Disables checkbox

extraAttributes : List (Html.Styled.Attribute msg) -> Property msg

Additional properties like css

indeterminate : Basics.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.Styled.Html msg

renders checkbox