nsgenbind
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
HTMLInputElement Interface Reference

import <html.idl;

Inheritance diagram for HTMLInputElement:
HTMLElement Element Node EventTarget EventTarget

Public Member Functions

void stepUp (optional long n=1)
 
void stepDown (optional long n=1)
 
boolean checkValidity ()
 
boolean reportValidity ()
 
void setCustomValidity (DOMString error)
 
void select ()
 
void setRangeText (DOMString replacement)
 
void setRangeText (DOMString replacement, unsigned long start, unsigned long end, optional SelectionMode selectionMode="preserve")
 
void setSelectionRange (unsigned long start, unsigned long end, optional DOMString direction)
 
- Public Member Functions inherited from HTMLElement
void click ()
 
void focus ()
 
void blur ()
 
void forceSpellCheck ()
 
- Public Member Functions inherited from Element
boolean hasAttributes ()
 
DOMString getAttribute (DOMString name)
 
DOMString getAttributeNS (DOMString? namespace, DOMString localName)
 
void setAttribute (DOMString name, DOMString value)
 
void setAttributeNS (DOMString? namespace, DOMString name, DOMString value)
 
void removeAttribute (DOMString name)
 
void removeAttributeNS (DOMString? namespace, DOMString localName)
 
boolean hasAttribute (DOMString name)
 
boolean hasAttributeNS (DOMString? namespace, DOMString localName)
 
Attr getAttributeNode (DOMString name)
 
Attr getAttributeNodeNS (DOMString? namespace, DOMString localName)
 
Attr setAttributeNode (Attr attr)
 
Attr setAttributeNodeNS (Attr attr)
 
Attr removeAttributeNode (Attr attr)
 
Element closest (DOMString selectors)
 
boolean matches (DOMString selectors)
 
HTMLCollection getElementsByTagName (DOMString localName)
 
HTMLCollection getElementsByTagNameNS (DOMString? namespace, DOMString localName)
 
HTMLCollection getElementsByClassName (DOMString classNames)
 
- Public Member Functions inherited from Node
boolean hasChildNodes ()
 
void normalize ()
 
Node cloneNode (optional boolean deep=false)
 
boolean isEqualNode (Node? otherNode)
 
unsigned short compareDocumentPosition (Node other)
 
boolean contains (Node? other)
 
DOMString lookupPrefix (DOMString? namespace)
 
DOMString lookupNamespaceURI (DOMString? prefix)
 
boolean isDefaultNamespace (DOMString? namespace)
 
Node insertBefore (Node node, Node? child)
 
Node appendChild (Node node)
 
Node replaceChild (Node node, Node child)
 
Node removeChild (Node child)
 
boolean hasChildNodes ()
 
unsigned short compareDocumentPosition (Node other)
 
boolean contains (Node? other)
 
Node insertBefore (Node node, Node? child)
 
Node appendChild (Node node)
 
Node replaceChild (Node node, Node child)
 
Node removeChild (Node child)
 
void normalize ()
 
Node cloneNode (optional boolean deep=true)
 
boolean isEqualNode (Node? node)
 
DOMString lookupPrefix (DOMString? namespace)
 
DOMString lookupNamespaceURI (DOMString? prefix)
 
boolean isDefaultNamespace (DOMString? namespace)
 
- Public Member Functions inherited from EventTarget
void addEventListener (DOMString type, EventListener? callback, optional boolean capture=false)
 
void removeEventListener (DOMString type, EventListener? callback, optional boolean capture=false)
 
boolean dispatchEvent (Event event)
 
void addEventListener (DOMString type, EventListener? callback, optional boolean capture=false)
 
void removeEventListener (DOMString type, EventListener? callback, optional boolean capture=false)
 
boolean dispatchEvent (Event event)
 

Public Attributes

attribute DOMString accept
 
attribute DOMString alt
 
attribute DOMString autocomplete
 
attribute boolean autofocus
 
attribute boolean defaultChecked
 
attribute boolean checked
 
attribute DOMString dirName
 
attribute boolean disabled
 
readonly attribute HTMLFormElement form
 
readonly attribute FileList files
 
attribute DOMString formAction
 
attribute DOMString formEnctype
 
attribute DOMString formMethod
 
attribute boolean formNoValidate
 
attribute DOMString formTarget
 
attribute unsigned long height
 
attribute boolean indeterminate
 
attribute DOMString inputMode
 
readonly attribute HTMLElement list
 
attribute DOMString max
 
attribute long maxLength
 
attribute DOMString min
 
attribute long minLength
 
attribute boolean multiple
 
attribute DOMString name
 
attribute DOMString pattern
 
attribute DOMString placeholder
 
attribute boolean readOnly
 
attribute boolean required
 
attribute unsigned long size
 
attribute DOMString src
 
attribute DOMString step
 
attribute DOMString type
 
attribute DOMString defaultValue
 
attribute DOMString value
 
attribute Date valueAsDate
 
attribute unrestricted double valueAsNumber
 
attribute double valueLow
 
attribute double valueHigh
 
attribute unsigned long width
 
readonly attribute boolean willValidate
 
readonly attribute ValidityState validity
 
readonly attribute DOMString validationMessage
 
readonly attribute NodeList labels
 
attribute unsigned long selectionStart
 
attribute unsigned long selectionEnd
 
attribute DOMString selectionDirection
 
attribute DOMString align
 
attribute DOMString useMap
 
- Public Attributes inherited from HTMLElement
attribute DOMString title
 
attribute DOMString lang
 
attribute boolean translate
 
attribute DOMString dir
 
readonly attribute DOMStringMap dataset
 
attribute boolean itemScope
 
readonly attribute DOMSettableTokenList itemType
 
attribute DOMString itemId
 
readonly attribute DOMSettableTokenList itemRef
 
readonly attribute DOMSettableTokenList itemProp
 
readonly attribute HTMLPropertiesCollection properties
 
attribute any itemValue
 
attribute boolean hidden
 
attribute long tabIndex
 
attribute DOMString accessKey
 
readonly attribute DOMString accessKeyLabel
 
attribute boolean draggable
 
readonly attribute DOMSettableTokenList dropzone
 
attribute HTMLMenuElement contextMenu
 
attribute boolean spellcheck
 
readonly attribute DOMString commandType
 
readonly attribute DOMString commandLabel
 
readonly attribute DOMString commandIcon
 
readonly attribute boolean commandHidden
 
readonly attribute boolean commandDisabled
 
readonly attribute boolean commandChecked
 
- Public Attributes inherited from Element
readonly attribute DOMString namespaceURI
 
readonly attribute DOMString prefix
 
readonly attribute DOMString localName
 
readonly attribute DOMString tagName
 
attribute DOMString id
 
attribute DOMString className
 
readonly attribute DOMTokenList classList
 
readonly attribute NamedNodeMap attributes
 
- Public Attributes inherited from Node
const unsigned short ELEMENT_NODE = 1
 
const unsigned short ATTRIBUTE_NODE = 2
 
const unsigned short TEXT_NODE = 3
 
const unsigned short CDATA_SECTION_NODE = 4
 
const unsigned short ENTITY_REFERENCE_NODE = 5
 
const unsigned short ENTITY_NODE = 6
 
const unsigned short PROCESSING_INSTRUCTION_NODE = 7
 
const unsigned short COMMENT_NODE = 8
 
const unsigned short DOCUMENT_NODE = 9
 
const unsigned short DOCUMENT_TYPE_NODE = 10
 
const unsigned short DOCUMENT_FRAGMENT_NODE = 11
 
const unsigned short NOTATION_NODE = 12
 
readonly attribute unsigned short nodeType
 
readonly attribute DOMString nodeName
 
readonly attribute DOMString baseURI
 
readonly attribute Document ownerDocument
 
readonly attribute Node parentNode
 
readonly attribute Element parentElement
 
readonly attribute NodeList childNodes
 
readonly attribute Node firstChild
 
readonly attribute Node lastChild
 
readonly attribute Node previousSibling
 
readonly attribute Node nextSibling
 
attribute DOMString nodeValue
 
attribute DOMString textContent
 
const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01
 
const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02
 
const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04
 
const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08
 
const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10
 
const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20
 

Detailed Description

Definition at line 756 of file html.idl.

Member Function Documentation

◆ checkValidity()

boolean HTMLInputElement::checkValidity ( )

◆ reportValidity()

boolean HTMLInputElement::reportValidity ( )

◆ select()

void HTMLInputElement::select ( )

◆ setCustomValidity()

void HTMLInputElement::setCustomValidity ( DOMString  error)

◆ setRangeText() [1/2]

void HTMLInputElement::setRangeText ( DOMString  replacement)

◆ setRangeText() [2/2]

void HTMLInputElement::setRangeText ( DOMString  replacement,
unsigned long  start,
unsigned long  end,
optional SelectionMode  selectionMode = "preserve" 
)

◆ setSelectionRange()

void HTMLInputElement::setSelectionRange ( unsigned long  start,
unsigned long  end,
optional DOMString  direction 
)

◆ stepDown()

void HTMLInputElement::stepDown ( optional long  n = 1)

◆ stepUp()

void HTMLInputElement::stepUp ( optional long  n = 1)

Member Data Documentation

◆ accept

attribute DOMString HTMLInputElement::accept

Definition at line 757 of file html.idl.

◆ align

attribute DOMString HTMLInputElement::align

Definition at line 2170 of file html.idl.

◆ alt

attribute DOMString HTMLInputElement::alt

Definition at line 758 of file html.idl.

◆ autocomplete

attribute DOMString HTMLInputElement::autocomplete

Definition at line 759 of file html.idl.

◆ autofocus

attribute boolean HTMLInputElement::autofocus

Definition at line 760 of file html.idl.

◆ checked

attribute boolean HTMLInputElement::checked

Definition at line 762 of file html.idl.

◆ defaultChecked

attribute boolean HTMLInputElement::defaultChecked

Definition at line 761 of file html.idl.

◆ defaultValue

attribute DOMString HTMLInputElement::defaultValue

Definition at line 790 of file html.idl.

◆ dirName

attribute DOMString HTMLInputElement::dirName

Definition at line 763 of file html.idl.

◆ disabled

attribute boolean HTMLInputElement::disabled

Definition at line 764 of file html.idl.

◆ files

readonly attribute FileList HTMLInputElement::files

Definition at line 766 of file html.idl.

◆ form

readonly attribute HTMLFormElement HTMLInputElement::form

Definition at line 765 of file html.idl.

◆ formAction

attribute DOMString HTMLInputElement::formAction

Definition at line 767 of file html.idl.

◆ formEnctype

attribute DOMString HTMLInputElement::formEnctype

Definition at line 768 of file html.idl.

◆ formMethod

attribute DOMString HTMLInputElement::formMethod

Definition at line 769 of file html.idl.

◆ formNoValidate

attribute boolean HTMLInputElement::formNoValidate

Definition at line 770 of file html.idl.

◆ formTarget

attribute DOMString HTMLInputElement::formTarget

Definition at line 771 of file html.idl.

◆ height

attribute unsigned long HTMLInputElement::height

Definition at line 772 of file html.idl.

◆ indeterminate

attribute boolean HTMLInputElement::indeterminate

Definition at line 773 of file html.idl.

◆ inputMode

attribute DOMString HTMLInputElement::inputMode

Definition at line 774 of file html.idl.

◆ labels

readonly attribute NodeList HTMLInputElement::labels

Definition at line 808 of file html.idl.

◆ list

readonly attribute HTMLElement HTMLInputElement::list

Definition at line 775 of file html.idl.

◆ max

attribute DOMString HTMLInputElement::max

Definition at line 776 of file html.idl.

◆ maxLength

attribute long HTMLInputElement::maxLength

Definition at line 777 of file html.idl.

◆ min

attribute DOMString HTMLInputElement::min

Definition at line 778 of file html.idl.

◆ minLength

attribute long HTMLInputElement::minLength

Definition at line 779 of file html.idl.

◆ multiple

attribute boolean HTMLInputElement::multiple

Definition at line 780 of file html.idl.

◆ name

attribute DOMString HTMLInputElement::name

Definition at line 781 of file html.idl.

◆ pattern

attribute DOMString HTMLInputElement::pattern

Definition at line 782 of file html.idl.

◆ placeholder

attribute DOMString HTMLInputElement::placeholder

Definition at line 783 of file html.idl.

◆ readOnly

attribute boolean HTMLInputElement::readOnly

Definition at line 784 of file html.idl.

◆ required

attribute boolean HTMLInputElement::required

Definition at line 785 of file html.idl.

◆ selectionDirection

attribute DOMString HTMLInputElement::selectionDirection

Definition at line 813 of file html.idl.

◆ selectionEnd

attribute unsigned long HTMLInputElement::selectionEnd

Definition at line 812 of file html.idl.

◆ selectionStart

attribute unsigned long HTMLInputElement::selectionStart

Definition at line 811 of file html.idl.

◆ size

attribute unsigned long HTMLInputElement::size

Definition at line 786 of file html.idl.

◆ src

attribute DOMString HTMLInputElement::src

Definition at line 787 of file html.idl.

◆ step

attribute DOMString HTMLInputElement::step

Definition at line 788 of file html.idl.

◆ type

attribute DOMString HTMLInputElement::type

Definition at line 789 of file html.idl.

◆ useMap

attribute DOMString HTMLInputElement::useMap

Definition at line 2171 of file html.idl.

◆ validationMessage

readonly attribute DOMString HTMLInputElement::validationMessage

Definition at line 803 of file html.idl.

◆ validity

readonly attribute ValidityState HTMLInputElement::validity

Definition at line 802 of file html.idl.

◆ value

attribute DOMString HTMLInputElement::value

Definition at line 791 of file html.idl.

◆ valueAsDate

attribute Date HTMLInputElement::valueAsDate

Definition at line 792 of file html.idl.

◆ valueAsNumber

attribute unrestricted double HTMLInputElement::valueAsNumber

Definition at line 793 of file html.idl.

◆ valueHigh

attribute double HTMLInputElement::valueHigh

Definition at line 795 of file html.idl.

◆ valueLow

attribute double HTMLInputElement::valueLow

Definition at line 794 of file html.idl.

◆ width

attribute unsigned long HTMLInputElement::width

Definition at line 796 of file html.idl.

◆ willValidate

readonly attribute boolean HTMLInputElement::willValidate

Definition at line 801 of file html.idl.


The documentation for this interface was generated from the following file: