bluedogtraining/bdt-elm/13.0.0

NOTE: this package is not compatible with Elm 0.19.1

Toggle

Module to add Toggles to your app

Views

view : Bool -> msg -> Html msg

Simple toggle view. Give it a Bool (on/off) and a Msg to fire onClick.

viewWithLabel : String -> Bool -> msg -> Html msg

Toggle view with a Label. Give it a Label, Bool (on/off) and a Msg to fire onClick.