const classafBounce::SelectBox

sys::Obj
  afBounce::Element
    afBounce::SelectBox

(HTML Element) Represents a form <select> element.

checked

Source

Option checked()

Return the currently checked option element.

disabled

Source

Bool disabled

Gets and sets the disabled attribute.

enabled

Source

Bool enabled

Gets and sets the disabled attribute (inverted).

findElem

Source

protected virtual override XElem findElem()

makeFromCss

Source

new makeFromCss(Str cssSelector)

name

Source

Str name()

Returns the name attribute.

optionByText

Source

Option? optionByText(Obj value)

Return the option element with the given text (display value).

optionByValue

Source

Option? optionByValue(Obj value)

Return the option element with the given value.

options

Source

Option[] options()

Return all option elements under this select.

verifyCheckedValueEq

Source

Void verifyCheckedValueEq(Obj expected)

Verify that the value of the checked option is equal to the given