21.75Class InputAttribs

Class InputAttribs from \
                 AllAttribs()
Properties
acceptlist of MIME types for file upload
accesskeyaccessibility key character
altshort description
checkedfor radio buttons and check boxes (boolean)
disabledunavailable in this context (boolean)
ismapuse server-side image map
maxlengthmax chars for text fields
namesubmit as part of form
onblurthe element lost the focus
onchangethe element value was changed
onfocusthe element got the focus
onselectsome text was selected
readonlyfor text and passwd (boolean)
sizespecific to each type of field
srcfor fields with images
tabindexposition in tabbing order
typewhat kind of widget is needed. Can be one of
  • text
  • password
  • checkbox
  • radio
  • submit
  • reset
  • file
  • hidden
  • image
  • button
usemapuse client-side image map
valueSpecify for radio buttons and checkboxes
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

accept

list of MIME types for file upload

accesskey

accessibility key character

alt

short description

checked

for radio buttons and check boxes (boolean)

disabled

unavailable in this context (boolean)

ismap

use server-side image map

maxlength

max chars for text fields

name

submit as part of form

onblur

the element lost the focus

onchange

the element value was changed

onfocus

the element got the focus

onselect

some text was selected

readonly

for text and passwd (boolean)

size

specific to each type of field

src

for fields with images

tabindex

position in tabbing order

type

what kind of widget is needed. Can be one of

types are declared as properties in the InputType enumeration

usemap

use client-side image map

value

Specify for radio buttons and checkboxes

Made with http://www.falconpl.org