21.98Class OptionAttribs

Class OptionAttribs from \
                 AllAttribs()
Properties
disabledUnavailable in this context
labelFor use in hierarchical menus
selectedSet to true to pre-select this option
valueValue that will be returned in the form if selected.
Properties inherited from class CoreAttribs
CLASSSpecifies a classname for an element. Will be rendered as "class"
dirSpecifies the text direction for the content in an element
idSpecifies a unique id for an element
styleSpecifies a language code for the content in an element
titleSpecifies extra information about an element
Properties inherited from class I18nAttribs
langSpecifies a language code for the content in an element
xml__langSpecifies a language code for the content in an element, in XHTML documents
Properties inherited from class EventAttribs
onclickScript to be run on a mouse click
ondblclickScript to be run on a mouse double-click
onkeydownScript to be run when a key is pressed
onkeypressScript to be run when a key is pressed and released
onkeyupScript to be run when a key is released
onloadScript to be run when a document load
onmousedownScript to be run when mouse button is pressed
onmousemoveScript to be run when mouse pointer moves
onmouseoutScript to be run when mouse pointer moves out of an element
onmouseoverScript to be run when mouse pointer moves over an element
onmouseupScript to be run when mouse button is released
onunloadScript to be run when a document unload
Methods inherited from class AttribsBase
toStringrender the attributes

Properties

disabled

Unavailable in this context

label

For use in hierarchical menus

selected

Set to true to pre-select this option

value

Value that will be returned in the form if selected.

If nil, it defaults to element content.

Made with http://www.falconpl.org