const classafBounce::RadioButton
sys::Obj afBounce::Element afBounce::RadioButton
(HTML Element) Represents a form <input>
of type radio
.
- allButtons
RadioButton[] allButtons()
Returns all radio buttons in the containing form that have the same name as this one.
- checked
Bool checked
Gets and sets the
checked
attribute. If setting totrue
, all other options are set to false.- checkedButton
RadioButton? checkedButton()
Return the currently checked radio button. Returns
null
if no button is checked.- disabled
Bool disabled
Gets and sets the
disabled
attribute.- enabled
Bool enabled
Gets and sets the
disabled
attribute (inverted).- findByValue
RadioButton? findByValue(Obj value)
Return the radio button with the given value. Returns
null
if a match could not be found.- makeFromCss
new makeFromCss(Str cssSelector)
- name
Str? name()
Returns the
name
attribute.- value
Str? value
Gets and sets the
value
attribute. Returnsnull
if the value has not been set.- verifyChecked
Void verifyChecked()
Verify the option is checked.
- verifyNotChecked
Void verifyNotChecked()
Verify the option is NOT checked.
- verifyValueEq
Void verifyValueEq(Obj expected)
Verify that the hidden element has the given value.