const classafBounce::SelectBox
sys::Obj afBounce::Element afBounce::SelectBox
(HTML Element) Represents a form <select>
element.
- checked
Option checked()
Return the currently checked option element.
- disabled
Bool disabled
Gets and sets the
disabled
attribute.- enabled
Bool enabled
Gets and sets the
disabled
attribute (inverted).- findElem
protected virtual override XElem findElem()
- makeFromCss
new makeFromCss(Str cssSelector)
- name
Str name()
Returns the
name
attribute.- optionByText
Option? optionByText(Obj value)
Return the option element with the given text (display value).
- optionByValue
Option? optionByValue(Obj value)
Return the option element with the given value.
- options
Option[] options()
Return all option elements under this select.
- verifyCheckedValueEq
Void verifyCheckedValueEq(Obj expected)
Verify that the value of the checked option is equal to the given