Radio Element
Home | Getting Started | API | Elements | Actions | Validators | Handlers | Configuration Options | Plugins | Mobile | Troubleshooting | About
Table of Contents
1 Radio Group Element - #radio_group {}
The radio group element automatically groups it's radio button members into the same radio button group by applying the same HTML name
to each radio contained within.
Note: Currently, this will not do a "deep dive" for the radio buttons, but assumes a flattened list containing the radio buttons.
Usage
#radiogroup { id=fruit, body= [ #radio { text="Apple", value="apple", checked=true }, #radio { text="Orange", value="orange" }, #radio { text="Banana", value="banana" } ]}.
Attributes
- body - (string)
- The contents of the radio group. Recommended to be a
list of radio buttons, but it will not search the contents of child elements
containing their own
body
attributes. So be aware. It's recommended to just be a list of#radio{}
elements, separated by#br{}
or#p{}
elements.