abradley2/form-elements/3.0.0

NOTE: the latest version is 4.1.2

FormElements.Switch

A simple on/off switch. Use for cases where the user has one option out of a binary selection

Definitions

view : Bool -> String -> (Bool -> a) -> Html a

The view function for displaying the element.