A radio button group.
new : { label : String, onChange : a -> msg, selected : Maybe a } -> Radio a msg
Create a new radio button group.
view : List (Element.Attribute msg) -> Radio a msg -> Element msg
View the radio button group.
withLayout : Layout -> Radio a msg -> Radio a msg
Change the arrangement of the radio buttons.
withOptions : List a -> Radio a msg -> Radio a msg
Change the options of the radio buttons.
withSerializer : (a -> String) -> Radio a msg -> Radio a msg
Change the serializer of the radio buttons.
withMessage : String -> Radio a msg -> Radio a msg
Add a help message of the radio buttons.
withDisabled : Basics.Bool -> Radio a msg -> Radio a msg
Disable the radio buttons.
The arrangement of the radio buttons.