HTMLInputColorElement
Overview
The HTMLInputElement interface provides special properties and methods for manipulating the options, layout, and presentation of <input> elements.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.WebAssembly.DOM
- Platforms: WebAssembly
- Ancestry: HTMLInputElement | HTMLInputColorElement
accessKey (declared in HTMLElement)
property accessKey: String read write;
String accessKey { get; set; }
var accessKey: String { get{} set{} }
String accessKey { __get; __set; }
Property accessKey() As String
accessKeyLabel (declared in HTMLElement)
property accessKeyLabel: String read;
String accessKeyLabel { get; }
var accessKeyLabel: String { get{} }
String accessKeyLabel { __get; }
ReadOnly Property accessKeyLabel() As String
addEventListener (dynamic, dynamic) (declared in EventTarget)
Registers an event handler of a specific event type on the EventTarget.
method addEventListener(partype: dynamic; parlistener: dynamic)
void addEventListener(dynamic partype, dynamic parlistener)
func addEventListener(_ partype: dynamic, _ parlistener: dynamic)
void addEventListener(dynamic partype, dynamic parlistener)
Sub addEventListener(partype As dynamic, parlistener As dynamic)
Parameters:
- partype:
- parlistener:
addEventListener (dynamic, dynamic, dynamic, dynamic, dynamic, dynamic) (declared in Element)
Registers an event handler to a specific event type on the element.
method addEventListener(partype: dynamic; parlistener: dynamic; paroptions: dynamic; parcapture: dynamic; paronce: dynamic; parpassive: dynamic)
void addEventListener(dynamic partype, dynamic parlistener, dynamic paroptions, dynamic parcapture, dynamic paronce, dynamic parpassive)
func addEventListener(_ partype: dynamic, _ parlistener: dynamic, _ paroptions: dynamic, _ parcapture: dynamic, _ paronce: dynamic, _ parpassive: dynamic)
void addEventListener(dynamic partype, dynamic parlistener, dynamic paroptions, dynamic parcapture, dynamic paronce, dynamic parpassive)
Sub addEventListener(partype As dynamic, parlistener As dynamic, paroptions As dynamic, parcapture As dynamic, paronce As dynamic, parpassive As dynamic)
Parameters:
- partype:
- parlistener:
- paroptions:
- parcapture:
- paronce:
- parpassive:
addEventListener (dynamic, dynamic, dynamic) (declared in EventTarget)
Registers an event handler of a specific event type on the EventTarget.
method addEventListener(type: dynamic; listener: dynamic; options: dynamic)
void addEventListener(dynamic type, dynamic listener, dynamic options)
func addEventListener(_ type: dynamic, _ listener: dynamic, _ options: dynamic)
void addEventListener(dynamic type, dynamic listener, dynamic options)
Sub addEventListener(type As dynamic, listener As dynamic, options As dynamic)
Parameters:
- type:
- listener:
- options:
addEventListener (dynamic, dynamic, Boolean) (declared in EventTarget)
Registers an event handler of a specific event type on the EventTarget.
method addEventListener(type: dynamic; listener: dynamic; useCapture: Boolean)
void addEventListener(dynamic type, dynamic listener, Boolean useCapture)
func addEventListener(_ type: dynamic, _ listener: dynamic, _ useCapture: Boolean)
void addEventListener(dynamic type, dynamic listener, Boolean useCapture)
Sub addEventListener(type As dynamic, listener As dynamic, useCapture As Boolean)
Parameters:
- type:
- listener:
- useCapture:
appendChild (declared in Node)
Adds the specified childNode argument as the last child to the current node. If the argument referenced an existing node on the DOM tree, the node will be detached from its current position and attached at the new position.
method appendChild(paraChild: dynamic): Node
Node appendChild(dynamic paraChild)
func appendChild(_ paraChild: dynamic) -> Node
Node appendChild(dynamic paraChild)
Function appendChild(paraChild As dynamic) As Node
Parameters:
- paraChild:
attachShadow (declared in Element)
Attaches a shadow DOM tree to the specified element and returns a reference to its ShadowRoot.
method attachShadow(parshadowRootInit: dynamic; parmode: dynamic; pardelegatesFocus: dynamic): ShadowRoot
ShadowRoot attachShadow(dynamic parshadowRootInit, dynamic parmode, dynamic pardelegatesFocus)
func attachShadow(_ parshadowRootInit: dynamic, _ parmode: dynamic, _ pardelegatesFocus: dynamic) -> ShadowRoot
ShadowRoot attachShadow(dynamic parshadowRootInit, dynamic parmode, dynamic pardelegatesFocus)
Function attachShadow(parshadowRootInit As dynamic, parmode As dynamic, pardelegatesFocus As dynamic) As ShadowRoot
Parameters:
- parshadowRootInit:
- parmode:
- pardelegatesFocus:
attributes (declared in Element)
property attributes: NamedNodeMap read;
NamedNodeMap attributes { get; }
var attributes: NamedNodeMap { get{} }
NamedNodeMap attributes { __get; }
ReadOnly Property attributes() As NamedNodeMap
autocomplete (declared in HTMLInputElement)
property autocomplete: dynamic read write;
dynamic autocomplete { get; set; }
var autocomplete: dynamic { get{} set{} }
dynamic autocomplete { __get; __set; }
Property autocomplete() As dynamic
autofocus (declared in HTMLInputElement)
property autofocus: Boolean read write;
Boolean autofocus { get; set; }
var autofocus: Boolean { get{} set{} }
Boolean autofocus { __get; __set; }
Property autofocus() As Boolean
baseURI (declared in Node)
property baseURI: String read;
String baseURI { get; }
var baseURI: String { get{} }
String baseURI { __get; }
ReadOnly Property baseURI() As String
checkValidity (declared in HTMLInputElement)
Immediately runs the validity check on the element, triggering the document to fire the invalid event at the element if the value isn't valid.
method checkValidity
void checkValidity()
func checkValidity()
void checkValidity()
Sub checkValidity()
childNodes (declared in Node)
property childNodes: Node read;
Node childNodes { get; }
var childNodes: Node { get{} }
Node childNodes { __get; }
ReadOnly Property childNodes() As Node
classList (declared in Element)
property classList: DOMTokenList read;
DOMTokenList classList { get; }
var classList: DOMTokenList { get{} }
DOMTokenList classList { __get; }
ReadOnly Property classList() As DOMTokenList
className (declared in Element)
property className: String read write;
String className { get; set; }
var className: String { get{} set{} }
String className { __get; __set; }
Property className() As String
click (declared in HTMLElement)
Sends a mouse click event to the element.
method click: HTMLElement
HTMLElement click()
func click() -> HTMLElement
HTMLElement click()
Function click() As HTMLElement
clientHeight (declared in Element)
property clientHeight: Int32 read;
Int32 clientHeight { get; }
var clientHeight: Int32 { get{} }
Int32 clientHeight { __get; }
ReadOnly Property clientHeight() As Int32
clientLeft (declared in Element)
property clientLeft: HTMLElement read;
HTMLElement clientLeft { get; }
var clientLeft: HTMLElement { get{} }
HTMLElement clientLeft { __get; }
ReadOnly Property clientLeft() As HTMLElement
clientTop (declared in Element)
property clientTop: HTMLElement read;
HTMLElement clientTop { get; }
var clientTop: HTMLElement { get{} }
HTMLElement clientTop { __get; }
ReadOnly Property clientTop() As HTMLElement
clientWidth (declared in Element)
property clientWidth: Int32 read;
Int32 clientWidth { get; }
var clientWidth: Int32 { get{} }
Int32 clientWidth { __get; }
ReadOnly Property clientWidth() As Int32
cloneNode (declared in Node)
Clone a Node, and optionally, all of its contents. By default, it clones the content of the node.
method cloneNode par(pardeep: dynamic): Node
Node cloneNode par(dynamic pardeep)
func cloneNode(par pardeep: dynamic) -> Node
Node cloneNode par(dynamic pardeep)
Function cloneNode par(pardeep As dynamic) As Node
Parameters:
- pardeep:
compareDocumentPosition (declared in Node)
Compares the position of the current node against another node in any other document.
method compareDocumentPosition(parotherNode: dynamic): Int32
Int32 compareDocumentPosition(dynamic parotherNode)
func compareDocumentPosition(_ parotherNode: dynamic) -> Int32
Int32 compareDocumentPosition(dynamic parotherNode)
Function compareDocumentPosition(parotherNode As dynamic) As Int32
Parameters:
- parotherNode:
computedName (declared in Element)
property computedName: String read;
String computedName { get; }
var computedName: String { get{} }
String computedName { __get; }
ReadOnly Property computedName() As String
computedRole (declared in Element)
property computedRole: String read;
String computedRole { get; }
var computedRole: String { get{} }
String computedRole { __get; }
ReadOnly Property computedRole() As String
contains (declared in Node)
Returns a Boolean value indicating whether or not a node is a descendant of the calling node.
method contains(parotherNode: dynamic): Boolean
Boolean contains(dynamic parotherNode)
func contains(_ parotherNode: dynamic) -> Boolean
Boolean contains(dynamic parotherNode)
Function contains(parotherNode As dynamic) As Boolean
Parameters:
- parotherNode:
contentEditable (declared in HTMLElement)
property contentEditable: String read write;
String contentEditable { get; set; }
var contentEditable: String { get{} set{} }
String contentEditable { __get; __set; }
Property contentEditable() As String
dataset (declared in HTMLElement)
property dataset: String read;
String dataset { get; }
var dataset: String { get{} }
String dataset { __get; }
ReadOnly Property dataset() As String
dir (declared in HTMLElement)
property dir: String read write;
String dir { get; set; }
var dir: String { get{} set{} }
String dir { __get; __set; }
Property dir() As String
disabled (declared in HTMLInputElement)
property disabled: Boolean read write;
Boolean disabled { get; set; }
var disabled: Boolean { get{} set{} }
Boolean disabled { __get; __set; }
Property disabled() As Boolean
dispatchEvent (declared in Element)
Dispatches an event to this node in the DOM and returns a Boolean that indicates whether no handler canceled the event.
method dispatchEvent(parevent: dynamic): dynamic
dynamic dispatchEvent(dynamic parevent)
func dispatchEvent(_ parevent: dynamic) -> dynamic
dynamic dispatchEvent(dynamic parevent)
Function dispatchEvent(parevent As dynamic) As dynamic
Parameters:
- parevent:
draggable (declared in HTMLElement)
property draggable: HTMLElement read write;
HTMLElement draggable { get; set; }
var draggable: HTMLElement { get{} set{} }
HTMLElement draggable { __get; __set; }
Property draggable() As HTMLElement
dropzone (declared in HTMLElement)
property dropzone: DOMTokenList read;
DOMTokenList dropzone { get; }
var dropzone: DOMTokenList { get{} }
DOMTokenList dropzone { __get; }
ReadOnly Property dropzone() As DOMTokenList
firstChild (declared in Node)
property firstChild: Node read;
Node firstChild { get; }
var firstChild: Node { get{} }
Node firstChild { __get; }
ReadOnly Property firstChild() As Node
focus (declared in HTMLElement)
Makes the element the current keyboard focus.
method focus(paroptions: dynamic; parpreventScroll: dynamic): HTMLElement
HTMLElement focus(dynamic paroptions, dynamic parpreventScroll)
func focus(_ paroptions: dynamic, _ parpreventScroll: dynamic) -> HTMLElement
HTMLElement focus(dynamic paroptions, dynamic parpreventScroll)
Function focus(paroptions As dynamic, parpreventScroll As dynamic) As HTMLElement
Parameters:
- paroptions:
- parpreventScroll:
form (declared in HTMLInputElement)
property form: String read write;
String form { get; set; }
var form: String { get{} set{} }
String form { __get; __set; }
Property form() As String
getAttribute (declared in Element)
Retrieves the value of the attribute with the specified name, from the current node and returns it as an Object.
method getAttribute(parname: dynamic): String
String getAttribute(dynamic parname)
func getAttribute(_ parname: dynamic) -> String
String getAttribute(dynamic parname)
Function getAttribute(parname As dynamic) As String
Parameters:
- parname:
getAttributeNS (declared in Element)
Retrieves the value of the attribute with the specified name and namespace, from the current node and returns it as an Object.
method getAttributeNS(parnamespace: dynamic; parname: dynamic): String
String getAttributeNS(dynamic parnamespace, dynamic parname)
func getAttributeNS(_ parnamespace: dynamic, _ parname: dynamic) -> String
String getAttributeNS(dynamic parnamespace, dynamic parname)
Function getAttributeNS(parnamespace As dynamic, parname As dynamic) As String
Parameters:
- parnamespace:
- parname:
getBoundingClientRect (declared in Element)
Returns the size of an element and its position relative to the viewport.
method getBoundingClientRect: DOMRect
DOMRect getBoundingClientRect()
func getBoundingClientRect() -> DOMRect
DOMRect getBoundingClientRect()
Function getBoundingClientRect() As DOMRect
getClientRects (declared in Element)
Returns a collection of rectangles that indicate the bounding rectangles for each line of text in a client.
method getClientRects: DOMRect
DOMRect getClientRects()
func getClientRects() -> DOMRect
DOMRect getClientRects()
Function getClientRects() As DOMRect
getElementsByClassName (declared in Element)
Returns a live HTMLCollection that contains all descendants of the current element that possess the list of classes given in the parameter.
method getElementsByClassName(parnames: dynamic): HTMLCollection
HTMLCollection getElementsByClassName(dynamic parnames)
func getElementsByClassName(_ parnames: dynamic) -> HTMLCollection
HTMLCollection getElementsByClassName(dynamic parnames)
Function getElementsByClassName(parnames As dynamic) As HTMLCollection
Parameters:
- parnames:
getElementsByTagName (declared in Element)
Returns a live HTMLCollection containing all descendant elements, of a particular tag name, from the current element.
method getElementsByTagName(partagName: dynamic): HTMLCollection
HTMLCollection getElementsByTagName(dynamic partagName)
func getElementsByTagName(_ partagName: dynamic) -> HTMLCollection
HTMLCollection getElementsByTagName(dynamic partagName)
Function getElementsByTagName(partagName As dynamic) As HTMLCollection
Parameters:
- partagName:
getElementsByTagNameNS (declared in Element)
Returns a live HTMLCollection containing all descendant elements, of a particular tag name and namespace, from the current element.
method getElementsByTagNameNS(parnamespaceURI: dynamic; parlocalName: dynamic): HTMLCollection
HTMLCollection getElementsByTagNameNS(dynamic parnamespaceURI, dynamic parlocalName)
func getElementsByTagNameNS(_ parnamespaceURI: dynamic, _ parlocalName: dynamic) -> HTMLCollection
HTMLCollection getElementsByTagNameNS(dynamic parnamespaceURI, dynamic parlocalName)
Function getElementsByTagNameNS(parnamespaceURI As dynamic, parlocalName As dynamic) As HTMLCollection
Parameters:
- parnamespaceURI:
- parlocalName:
getRootNode (declared in Node)
Returns the context object's root which optionally includes the shadow root if it is available.
method getRootNode(paroptions: dynamic): Node
Node getRootNode(dynamic paroptions)
func getRootNode(_ paroptions: dynamic) -> Node
Node getRootNode(dynamic paroptions)
Function getRootNode(paroptions As dynamic) As Node
Parameters:
- paroptions:
hasAttribute (declared in Element)
Returns a Boolean indicating if the element has the specified attribute or not.
method hasAttribute(parname: dynamic): HTMLElement
HTMLElement hasAttribute(dynamic parname)
func hasAttribute(_ parname: dynamic) -> HTMLElement
HTMLElement hasAttribute(dynamic parname)
Function hasAttribute(parname As dynamic) As HTMLElement
Parameters:
- parname:
hasAttributeNS (declared in Element)
Returns a Boolean indicating if the element has the specified attribute, in the specified namespace, or not.
method hasAttributeNS(parnamespace: dynamic; localName: dynamic): HTMLElement
HTMLElement hasAttributeNS(dynamic parnamespace, dynamic localName)
func hasAttributeNS(_ parnamespace: dynamic, _ localName: dynamic) -> HTMLElement
HTMLElement hasAttributeNS(dynamic parnamespace, dynamic localName)
Function hasAttributeNS(parnamespace As dynamic, localName As dynamic) As HTMLElement
Parameters:
- parnamespace:
- localName:
hasAttributes (declared in Element)
Returns a Boolean indicating if the element has one or more HTML attributes present.
method hasAttributes: HTMLElement
HTMLElement hasAttributes()
func hasAttributes() -> HTMLElement
HTMLElement hasAttributes()
Function hasAttributes() As HTMLElement
hasChildNodes (declared in Node)
Returns a Boolean indicating whether or not the element has any child nodes.
method hasChildNodes: Node
Node hasChildNodes()
func hasChildNodes() -> Node
Node hasChildNodes()
Function hasChildNodes() As Node
hasPointerCapture (declared in Element)
Indicates whether the element on which it is invoked has pointer capture for the pointer identified by the given pointer ID.
method hasPointerCapture(parpointerId: dynamic): HTMLElement
HTMLElement hasPointerCapture(dynamic parpointerId)
func hasPointerCapture(_ parpointerId: dynamic) -> HTMLElement
HTMLElement hasPointerCapture(dynamic parpointerId)
Function hasPointerCapture(parpointerId As dynamic) As HTMLElement
Parameters:
- parpointerId:
property hidden: Boolean read write;
Boolean hidden { get; set; }
var hidden: Boolean { get{} set{} }
Boolean hidden { __get; __set; }
Property hidden() As Boolean
id (declared in Element)
property id: String read write;
String id { get; set; }
var id: String { get{} set{} }
String id { __get; __set; }
Property id() As String
inert (declared in HTMLElement)
property inert: Boolean read write;
Boolean inert { get; set; }
var inert: Boolean { get{} set{} }
Boolean inert { __get; __set; }
Property inert() As Boolean
innerHTML (declared in Element)
property innerHTML: String read write;
String innerHTML { get; set; }
var innerHTML: String { get{} set{} }
String innerHTML { __get; __set; }
Property innerHTML() As String
innerText (declared in HTMLElement)
property innerText: String read write;
String innerText { get; set; }
var innerText: String { get{} set{} }
String innerText { __get; __set; }
Property innerText() As String
inputmode (declared in HTMLInputElement)
property inputmode: String read write;
String inputmode { get; set; }
var inputmode: String { get{} set{} }
String inputmode { __get; __set; }
Property inputmode() As String
insertAdjacentElement (declared in Element)
Inserts a given element node at a given position relative to the element it is invoked upon.
method insertAdjacentElement(parposition: dynamic; parelement: dynamic): HTMLElement
HTMLElement insertAdjacentElement(dynamic parposition, dynamic parelement)
func insertAdjacentElement(_ parposition: dynamic, _ parelement: dynamic) -> HTMLElement
HTMLElement insertAdjacentElement(dynamic parposition, dynamic parelement)
Function insertAdjacentElement(parposition As dynamic, parelement As dynamic) As HTMLElement
Parameters:
- parposition:
- parelement:
insertAdjacentHTML (declared in Element)
Parses the text as HTML or XML and inserts the resulting nodes into the tree in the position given.
method insertAdjacentHTML(parposition: dynamic; partext: dynamic): String
String insertAdjacentHTML(dynamic parposition, dynamic partext)
func insertAdjacentHTML(_ parposition: dynamic, _ partext: dynamic) -> String
String insertAdjacentHTML(dynamic parposition, dynamic partext)
Function insertAdjacentHTML(parposition As dynamic, partext As dynamic) As String
Parameters:
- parposition:
- partext:
insertAdjacentText (declared in Element)
Inserts a given text node at a given position relative to the element it is invoked upon.
method insertAdjacentText(parposition: dynamic; parelement: dynamic): HTMLElement
HTMLElement insertAdjacentText(dynamic parposition, dynamic parelement)
func insertAdjacentText(_ parposition: dynamic, _ parelement: dynamic) -> HTMLElement
HTMLElement insertAdjacentText(dynamic parposition, dynamic parelement)
Function insertAdjacentText(parposition As dynamic, parelement As dynamic) As HTMLElement
Parameters:
- parposition:
- parelement:
insertBefore (declared in Node)
Inserts a Node before the reference node as a child of a specified parent node.
method insertBefore(parnewNode: dynamic; parreferenceNode: dynamic): Node
Node insertBefore(dynamic parnewNode, dynamic parreferenceNode)
func insertBefore(_ parnewNode: dynamic, _ parreferenceNode: dynamic) -> Node
Node insertBefore(dynamic parnewNode, dynamic parreferenceNode)
Function insertBefore(parnewNode As dynamic, parreferenceNode As dynamic) As Node
Parameters:
- parnewNode:
- parreferenceNode:
isConnected (declared in Node)
property isConnected: Boolean read;
Boolean isConnected { get; }
var isConnected: Boolean { get{} }
Boolean isConnected { __get; }
ReadOnly Property isConnected() As Boolean
isContentEditable (declared in HTMLElement)
property isContentEditable: Boolean read;
Boolean isContentEditable { get; }
var isContentEditable: Boolean { get{} }
Boolean isContentEditable { __get; }
ReadOnly Property isContentEditable() As Boolean
isDefaultNamespace (declared in Node)
Accepts a namespace URI as an argument and returns a Boolean with a value of true if the namespace is the default namespace on the given node or false if not.
method isDefaultNamespace: Boolean
Boolean isDefaultNamespace()
func isDefaultNamespace() -> Boolean
Boolean isDefaultNamespace()
Function isDefaultNamespace() As Boolean
isEqualNode (declared in Node)
Returns a Boolean which indicates whether or not two nodes are of the same type and all their defining data points match.
Parameters:
- parotherNode:
isSameNode (declared in Node)
Returns a Boolean value indicating whether or not the two nodes are the same (that is, they reference the same object).
method isSameNode: Node
Node isSameNode()
func isSameNode() -> Node
Node isSameNode()
Function isSameNode() As Node
lang (declared in HTMLElement)
property lang: String read write;
String lang { get; set; }
var lang: String { get{} set{} }
String lang { __get; __set; }
Property lang() As String
lastChild (declared in Node)
property lastChild: Node read;
Node lastChild { get; }
var lastChild: Node { get{} }
Node lastChild { __get; }
ReadOnly Property lastChild() As Node
list
property list: String read write;
String list { get; set; }
var list: String { get{} set{} }
String list { __get; __set; }
Property list() As String
localName (declared in Element)
property localName: String read;
String localName { get; }
var localName: String { get{} }
String localName { __get; }
ReadOnly Property localName() As String
lookupNamespaceURI (declared in Node)
Accepts a prefix and returns the namespace URI associated with it on the given node if found (and null if not). Supplying null for the prefix will return the default namespace.
method lookupNamespaceURI(parprefix: dynamic)
void lookupNamespaceURI(dynamic parprefix)
func lookupNamespaceURI(_ parprefix: dynamic)
void lookupNamespaceURI(dynamic parprefix)
Sub lookupNamespaceURI(parprefix As dynamic)
Parameters:
- parprefix:
namespaceURI (declared in Element)
property namespaceURI: String read;
String namespaceURI { get; }
var namespaceURI: String { get{} }
String namespaceURI { __get; }
ReadOnly Property namespaceURI() As String
nextSibling (declared in Node)
property nextSibling: Node read;
Node nextSibling { get; }
var nextSibling: Node { get{} }
Node nextSibling { __get; }
ReadOnly Property nextSibling() As Node
nodeName (declared in Node)
property nodeName: Node read;
Node nodeName { get; }
var nodeName: Node { get{} }
Node nodeName { __get; }
ReadOnly Property nodeName() As Node
nodeValue (declared in Node)
property nodeValue: Node read write;
Node nodeValue { get; set; }
var nodeValue: Node { get{} set{} }
Node nodeValue { __get; __set; }
Property nodeValue() As Node
noModule (declared in HTMLElement)
property noModule: Boolean read write;
Boolean noModule { get; set; }
var noModule: Boolean { get{} set{} }
Boolean noModule { __get; __set; }
Property noModule() As Boolean
normalize (declared in Node)
Clean up all the text nodes under this element (merge adjacent, remove empty).
method normalize: String
String normalize()
func normalize() -> String
String normalize()
Function normalize() As String
onfullscreenchange (declared in Element)
property onfullscreenchange: dynamic read write;
dynamic onfullscreenchange { get; set; }
var onfullscreenchange: dynamic { get{} set{} }
dynamic onfullscreenchange { __get; __set; }
Property onfullscreenchange() As dynamic
onfullscreenerror (declared in Element)
property onfullscreenerror: dynamic read write;
dynamic onfullscreenerror { get; set; }
var onfullscreenerror: dynamic { get{} set{} }
dynamic onfullscreenerror { __get; __set; }
Property onfullscreenerror() As dynamic
outerHTML (declared in Element)
property outerHTML: String read write;
String outerHTML { get; set; }
var outerHTML: String { get{} set{} }
String outerHTML { __get; __set; }
Property outerHTML() As String
ownerDocument (declared in Node)
property ownerDocument: Document read;
Document ownerDocument { get; }
var ownerDocument: Document { get{} }
Document ownerDocument { __get; }
ReadOnly Property ownerDocument() As Document
parentElement (declared in Node)
property parentElement: Element read;
Element parentElement { get; }
var parentElement: Element { get{} }
Element parentElement { __get; }
ReadOnly Property parentElement() As Element
parentNode (declared in Node)
property parentNode: Node read;
Node parentNode { get; }
var parentNode: Node { get{} }
Node parentNode { __get; }
ReadOnly Property parentNode() As Node
part (declared in Element)
property part: DOMTokenList read write;
DOMTokenList part { get; set; }
var part: DOMTokenList { get{} set{} }
DOMTokenList part { __get; __set; }
Property part() As DOMTokenList
pattern (declared in HTMLInputElement)
property pattern: String read write;
String pattern { get; set; }
var pattern: String { get{} set{} }
String pattern { __get; __set; }
Property pattern() As String
placeholder (declared in HTMLInputElement)
property placeholder: String read write;
String placeholder { get; set; }
var placeholder: String { get{} set{} }
String placeholder { __get; __set; }
Property placeholder() As String
prefix (declared in Element)
property prefix: String read;
String prefix { get; }
var prefix: String { get{} }
String prefix { __get; }
ReadOnly Property prefix() As String
previousSibling (declared in Node)
property previousSibling: Node read;
Node previousSibling { get; }
var previousSibling: Node { get{} }
Node previousSibling { __get; }
ReadOnly Property previousSibling() As Node
querySelector (declared in Element)
Returns the first Node which matches the specified selector string relative to the element.
method querySelector(parselectors: dynamic): Element
Element querySelector(dynamic parselectors)
func querySelector(_ parselectors: dynamic) -> Element
Element querySelector(dynamic parselectors)
Function querySelector(parselectors As dynamic) As Element
Parameters:
- parselectors:
querySelectorAll (declared in Element)
Returns a NodeList of nodes which match the specified selector string relative to the element.
method querySelectorAll(parselectors: dynamic): HTMLElement
HTMLElement querySelectorAll(dynamic parselectors)
func querySelectorAll(_ parselectors: dynamic) -> HTMLElement
HTMLElement querySelectorAll(dynamic parselectors)
Function querySelectorAll(parselectors As dynamic) As HTMLElement
Parameters:
- parselectors:
releasePointerCapture (declared in Element)
Releases (stops) pointer capture that was previously set for a specific pointer event.
method releasePointerCapture(parpointerId: dynamic)
void releasePointerCapture(dynamic parpointerId)
func releasePointerCapture(_ parpointerId: dynamic)
void releasePointerCapture(dynamic parpointerId)
Sub releasePointerCapture(parpointerId As dynamic)
Parameters:
- parpointerId:
removeAttribute (declared in Element)
Removes the named attribute from the current node.
method removeAttribute(parattrName: dynamic)
void removeAttribute(dynamic parattrName)
func removeAttribute(_ parattrName: dynamic)
void removeAttribute(dynamic parattrName)
Sub removeAttribute(parattrName As dynamic)
Parameters:
- parattrName:
removeEventListener (declared in Element)
Removes an event listener from the element.
method removeEventListener(partype: dynamic; parlistener: dynamic; paroptions: dynamic; paruseCapture: dynamic): dynamic
dynamic removeEventListener(dynamic partype, dynamic parlistener, dynamic paroptions, dynamic paruseCapture)
func removeEventListener(_ partype: dynamic, _ parlistener: dynamic, _ paroptions: dynamic, _ paruseCapture: dynamic) -> dynamic
dynamic removeEventListener(dynamic partype, dynamic parlistener, dynamic paroptions, dynamic paruseCapture)
Function removeEventListener(partype As dynamic, parlistener As dynamic, paroptions As dynamic, paruseCapture As dynamic) As dynamic
Parameters:
- partype:
- parlistener:
- paroptions:
- paruseCapture:
replaceChild (declared in Node)
Replaces one child Node of the current one with the second one given in parameter.
method replaceChild(parnewChild: dynamic; paroldChild: dynamic): Node
Node replaceChild(dynamic parnewChild, dynamic paroldChild)
func replaceChild(_ parnewChild: dynamic, _ paroldChild: dynamic) -> Node
Node replaceChild(dynamic parnewChild, dynamic paroldChild)
Function replaceChild(parnewChild As dynamic, paroldChild As dynamic) As Node
Parameters:
- parnewChild:
- paroldChild:
reportValidity (declared in HTMLInputElement)
Returns true if the element's value passes validity checks; otherwise, returns false.
method reportValidity: Boolean
Boolean reportValidity()
func reportValidity() -> Boolean
Boolean reportValidity()
Function reportValidity() As Boolean
scrollHeight (declared in Element)
property scrollHeight: Int32 read;
Int32 scrollHeight { get; }
var scrollHeight: Int32 { get{} }
Int32 scrollHeight { __get; }
ReadOnly Property scrollHeight() As Int32
scrollLeft (declared in Element)
property scrollLeft: HTMLElement read write;
HTMLElement scrollLeft { get; set; }
var scrollLeft: HTMLElement { get{} set{} }
HTMLElement scrollLeft { __get; __set; }
Property scrollLeft() As HTMLElement
scrollTop (declared in Element)
property scrollTop: Int32 read write;
Int32 scrollTop { get; set; }
var scrollTop: Int32 { get{} set{} }
Int32 scrollTop { __get; __set; }
Property scrollTop() As Int32
scrollWidth (declared in Element)
property scrollWidth: Int32 read;
Int32 scrollWidth { get; }
var scrollWidth: Int32 { get{} }
Int32 scrollWidth { __get; }
ReadOnly Property scrollWidth() As Int32
select (declared in HTMLInputElement)
Selects the entire content of the <input> element, if the element's content is selectable. For elements with no selectable text content (such as a visual color picker or calendar date input), this method does nothing.
method select
void select()
func select()
void select()
Sub select()
setAttribute (declared in Element)
Sets the value of a named attribute of the current node.
method setAttribute(parname: dynamic; parvalue: dynamic)
void setAttribute(dynamic parname, dynamic parvalue)
func setAttribute(_ parname: dynamic, _ parvalue: dynamic)
void setAttribute(dynamic parname, dynamic parvalue)
Sub setAttribute(parname As dynamic, parvalue As dynamic)
Parameters:
- parname:
- parvalue:
setCustomValidity (declared in HTMLInputElement)
Sets a custom message to display if the input element's value isn't valid.
method setCustomValidity(aParam: String)
void setCustomValidity(String aParam)
func setCustomValidity(_ aParam: String)
void setCustomValidity(String aParam)
Sub setCustomValidity(aParam As String)
Parameters:
- aParam:
setPointerCapture (declared in Element)
Designates a specific element as the capture target of future pointer events.
method setPointerCapture(parpointerId: dynamic)
void setPointerCapture(dynamic parpointerId)
func setPointerCapture(_ parpointerId: dynamic)
void setPointerCapture(dynamic parpointerId)
Sub setPointerCapture(parpointerId As dynamic)
Parameters:
- parpointerId:
setRangeText (declared in HTMLInputElement)
Sets the contents of the specified range of characters in the input element to a given string. A selectMode parameter is available to allow controlling how the existing content is affected.
method setRangeText(aParam: String)
void setRangeText(String aParam)
func setRangeText(_ aParam: String)
void setRangeText(String aParam)
Sub setRangeText(aParam As String)
Parameters:
- aParam:
setSelectionRange (dynamic, dynamic) (declared in HTMLInputElement)
Selects the specified range of characters within a textual input element. Does nothing for inputs which aren't presented as text input fields.
method setSelectionRange(selectionStart: dynamic; selectionEnd: dynamic)
void setSelectionRange(dynamic selectionStart, dynamic selectionEnd)
func setSelectionRange(_ selectionStart: dynamic, _ selectionEnd: dynamic)
void setSelectionRange(dynamic selectionStart, dynamic selectionEnd)
Sub setSelectionRange(selectionStart As dynamic, selectionEnd As dynamic)
Parameters:
- selectionStart:
- selectionEnd:
setSelectionRange (dynamic, dynamic, dynamic) (declared in HTMLInputElement)
Selects the specified range of characters within a textual input element. Does nothing for inputs which aren't presented as text input fields.
method setSelectionRange(selectionStart: dynamic; selectionEnd: dynamic; selectionDirection: dynamic)
void setSelectionRange(dynamic selectionStart, dynamic selectionEnd, dynamic selectionDirection)
func setSelectionRange(_ selectionStart: dynamic, _ selectionEnd: dynamic, _ selectionDirection: dynamic)
void setSelectionRange(dynamic selectionStart, dynamic selectionEnd, dynamic selectionDirection)
Sub setSelectionRange(selectionStart As dynamic, selectionEnd As dynamic, selectionDirection As dynamic)
Parameters:
- selectionStart:
- selectionEnd:
- selectionDirection:
shadowRoot (declared in Element)
property shadowRoot: HTMLElement read;
HTMLElement shadowRoot { get; }
var shadowRoot: HTMLElement { get{} }
HTMLElement shadowRoot { __get; }
ReadOnly Property shadowRoot() As HTMLElement
spellcheck (declared in HTMLElement)
property spellcheck: Boolean read write;
Boolean spellcheck { get; set; }
var spellcheck: Boolean { get{} set{} }
Boolean spellcheck { __get; __set; }
Property spellcheck() As Boolean
stepDown (declared in HTMLInputElement)
Decrements the value of a numeric input by one, by default, or by the specified number of units.
method stepDown(stepIncrement: dynamic)
void stepDown(dynamic stepIncrement)
func stepDown(_ stepIncrement: dynamic)
void stepDown(dynamic stepIncrement)
Sub stepDown(stepIncrement As dynamic)
Parameters:
- stepIncrement:
stepUp (declared in HTMLInputElement)
Increments the value of a numeric input by one or by the specified number of units.
method stepUp(stepIncrement: dynamic)
void stepUp(dynamic stepIncrement)
func stepUp(_ stepIncrement: dynamic)
void stepUp(dynamic stepIncrement)
Sub stepUp(stepIncrement As dynamic)
Parameters:
- stepIncrement:
style (declared in HTMLElement)
property style: dynamic read write;
dynamic style { get; set; }
var style: dynamic { get{} set{} }
dynamic style { __get; __set; }
Property style() As dynamic
tabIndex (declared in HTMLElement)
property tabIndex: Int32 read write;
Int32 tabIndex { get; set; }
var tabIndex: Int32 { get{} set{} }
Int32 tabIndex { __get; __set; }
Property tabIndex() As Int32
tagName (declared in Element)
property tagName: String read;
String tagName { get; }
var tagName: String { get{} }
String tagName { __get; }
ReadOnly Property tagName() As String
textContent (declared in Node)
property textContent: String read write;
String textContent { get; set; }
var textContent: String { get{} set{} }
String textContent { __get; __set; }
Property textContent() As String
title (declared in HTMLElement)
property title: String read write;
String title { get; set; }
var title: String { get{} set{} }
String title { __get; __set; }
Property title() As String
toggleAttribute (declared in Element)
Toggles a boolean attribute, removing it if it is present and adding it if it is not present, on the specified element.
method toggleAttribute(parname: dynamic; parforce: dynamic): Boolean
Boolean toggleAttribute(dynamic parname, dynamic parforce)
func toggleAttribute(_ parname: dynamic, _ parforce: dynamic) -> Boolean
Boolean toggleAttribute(dynamic parname, dynamic parforce)
Function toggleAttribute(parname As dynamic, parforce As dynamic) As Boolean
Parameters:
- parname:
- parforce:
type (declared in HTMLInputElement)
property type: String read write;
String type { get; set; }
var type: String { get{} set{} }
String type { __get; __set; }
Property type() As String
value (declared in HTMLInputElement)
accessKey (declared in HTMLElement)
property accessKey: String read write;
String accessKey { get; set; }
var accessKey: String { get{} set{} }
String accessKey { __get; __set; }
Property accessKey() As String
accessKeyLabel (declared in HTMLElement)
property accessKeyLabel: String read;
String accessKeyLabel { get; }
var accessKeyLabel: String { get{} }
String accessKeyLabel { __get; }
ReadOnly Property accessKeyLabel() As String
attributes (declared in Element)
property attributes: NamedNodeMap read;
NamedNodeMap attributes { get; }
var attributes: NamedNodeMap { get{} }
NamedNodeMap attributes { __get; }
ReadOnly Property attributes() As NamedNodeMap
autocomplete (declared in HTMLInputElement)
property autocomplete: dynamic read write;
dynamic autocomplete { get; set; }
var autocomplete: dynamic { get{} set{} }
dynamic autocomplete { __get; __set; }
Property autocomplete() As dynamic
autofocus (declared in HTMLInputElement)
property autofocus: Boolean read write;
Boolean autofocus { get; set; }
var autofocus: Boolean { get{} set{} }
Boolean autofocus { __get; __set; }
Property autofocus() As Boolean
baseURI (declared in Node)
property baseURI: String read;
String baseURI { get; }
var baseURI: String { get{} }
String baseURI { __get; }
ReadOnly Property baseURI() As String
childNodes (declared in Node)
property childNodes: Node read;
Node childNodes { get; }
var childNodes: Node { get{} }
Node childNodes { __get; }
ReadOnly Property childNodes() As Node
classList (declared in Element)
property classList: DOMTokenList read;
DOMTokenList classList { get; }
var classList: DOMTokenList { get{} }
DOMTokenList classList { __get; }
ReadOnly Property classList() As DOMTokenList
className (declared in Element)
property className: String read write;
String className { get; set; }
var className: String { get{} set{} }
String className { __get; __set; }
Property className() As String
clientHeight (declared in Element)
property clientHeight: Int32 read;
Int32 clientHeight { get; }
var clientHeight: Int32 { get{} }
Int32 clientHeight { __get; }
ReadOnly Property clientHeight() As Int32
clientLeft (declared in Element)
property clientLeft: HTMLElement read;
HTMLElement clientLeft { get; }
var clientLeft: HTMLElement { get{} }
HTMLElement clientLeft { __get; }
ReadOnly Property clientLeft() As HTMLElement
clientTop (declared in Element)
property clientTop: HTMLElement read;
HTMLElement clientTop { get; }
var clientTop: HTMLElement { get{} }
HTMLElement clientTop { __get; }
ReadOnly Property clientTop() As HTMLElement
clientWidth (declared in Element)
property clientWidth: Int32 read;
Int32 clientWidth { get; }
var clientWidth: Int32 { get{} }
Int32 clientWidth { __get; }
ReadOnly Property clientWidth() As Int32
computedName (declared in Element)
property computedName: String read;
String computedName { get; }
var computedName: String { get{} }
String computedName { __get; }
ReadOnly Property computedName() As String
computedRole (declared in Element)
property computedRole: String read;
String computedRole { get; }
var computedRole: String { get{} }
String computedRole { __get; }
ReadOnly Property computedRole() As String
contentEditable (declared in HTMLElement)
property contentEditable: String read write;
String contentEditable { get; set; }
var contentEditable: String { get{} set{} }
String contentEditable { __get; __set; }
Property contentEditable() As String
dataset (declared in HTMLElement)
property dataset: String read;
String dataset { get; }
var dataset: String { get{} }
String dataset { __get; }
ReadOnly Property dataset() As String
dir (declared in HTMLElement)
property dir: String read write;
String dir { get; set; }
var dir: String { get{} set{} }
String dir { __get; __set; }
Property dir() As String
disabled (declared in HTMLInputElement)
property disabled: Boolean read write;
Boolean disabled { get; set; }
var disabled: Boolean { get{} set{} }
Boolean disabled { __get; __set; }
Property disabled() As Boolean
draggable (declared in HTMLElement)
property draggable: HTMLElement read write;
HTMLElement draggable { get; set; }
var draggable: HTMLElement { get{} set{} }
HTMLElement draggable { __get; __set; }
Property draggable() As HTMLElement
dropzone (declared in HTMLElement)
property dropzone: DOMTokenList read;
DOMTokenList dropzone { get; }
var dropzone: DOMTokenList { get{} }
DOMTokenList dropzone { __get; }
ReadOnly Property dropzone() As DOMTokenList
firstChild (declared in Node)
property firstChild: Node read;
Node firstChild { get; }
var firstChild: Node { get{} }
Node firstChild { __get; }
ReadOnly Property firstChild() As Node
form (declared in HTMLInputElement)
property form: String read write;
String form { get; set; }
var form: String { get{} set{} }
String form { __get; __set; }
Property form() As String
property hidden: Boolean read write;
Boolean hidden { get; set; }
var hidden: Boolean { get{} set{} }
Boolean hidden { __get; __set; }
Property hidden() As Boolean
id (declared in Element)
property id: String read write;
String id { get; set; }
var id: String { get{} set{} }
String id { __get; __set; }
Property id() As String
inert (declared in HTMLElement)
property inert: Boolean read write;
Boolean inert { get; set; }
var inert: Boolean { get{} set{} }
Boolean inert { __get; __set; }
Property inert() As Boolean
innerHTML (declared in Element)
property innerHTML: String read write;
String innerHTML { get; set; }
var innerHTML: String { get{} set{} }
String innerHTML { __get; __set; }
Property innerHTML() As String
innerText (declared in HTMLElement)
property innerText: String read write;
String innerText { get; set; }
var innerText: String { get{} set{} }
String innerText { __get; __set; }
Property innerText() As String
inputmode (declared in HTMLInputElement)
property inputmode: String read write;
String inputmode { get; set; }
var inputmode: String { get{} set{} }
String inputmode { __get; __set; }
Property inputmode() As String
isConnected (declared in Node)
property isConnected: Boolean read;
Boolean isConnected { get; }
var isConnected: Boolean { get{} }
Boolean isConnected { __get; }
ReadOnly Property isConnected() As Boolean
isContentEditable (declared in HTMLElement)
property isContentEditable: Boolean read;
Boolean isContentEditable { get; }
var isContentEditable: Boolean { get{} }
Boolean isContentEditable { __get; }
ReadOnly Property isContentEditable() As Boolean
lang (declared in HTMLElement)
property lang: String read write;
String lang { get; set; }
var lang: String { get{} set{} }
String lang { __get; __set; }
Property lang() As String
lastChild (declared in Node)
property lastChild: Node read;
Node lastChild { get; }
var lastChild: Node { get{} }
Node lastChild { __get; }
ReadOnly Property lastChild() As Node
list
property list: String read write;
String list { get; set; }
var list: String { get{} set{} }
String list { __get; __set; }
Property list() As String
localName (declared in Element)
property localName: String read;
String localName { get; }
var localName: String { get{} }
String localName { __get; }
ReadOnly Property localName() As String
namespaceURI (declared in Element)
property namespaceURI: String read;
String namespaceURI { get; }
var namespaceURI: String { get{} }
String namespaceURI { __get; }
ReadOnly Property namespaceURI() As String
nextSibling (declared in Node)
property nextSibling: Node read;
Node nextSibling { get; }
var nextSibling: Node { get{} }
Node nextSibling { __get; }
ReadOnly Property nextSibling() As Node
nodeName (declared in Node)
property nodeName: Node read;
Node nodeName { get; }
var nodeName: Node { get{} }
Node nodeName { __get; }
ReadOnly Property nodeName() As Node
nodeValue (declared in Node)
property nodeValue: Node read write;
Node nodeValue { get; set; }
var nodeValue: Node { get{} set{} }
Node nodeValue { __get; __set; }
Property nodeValue() As Node
noModule (declared in HTMLElement)
property noModule: Boolean read write;
Boolean noModule { get; set; }
var noModule: Boolean { get{} set{} }
Boolean noModule { __get; __set; }
Property noModule() As Boolean
onfullscreenchange (declared in Element)
property onfullscreenchange: dynamic read write;
dynamic onfullscreenchange { get; set; }
var onfullscreenchange: dynamic { get{} set{} }
dynamic onfullscreenchange { __get; __set; }
Property onfullscreenchange() As dynamic
onfullscreenerror (declared in Element)
property onfullscreenerror: dynamic read write;
dynamic onfullscreenerror { get; set; }
var onfullscreenerror: dynamic { get{} set{} }
dynamic onfullscreenerror { __get; __set; }
Property onfullscreenerror() As dynamic
outerHTML (declared in Element)
property outerHTML: String read write;
String outerHTML { get; set; }
var outerHTML: String { get{} set{} }
String outerHTML { __get; __set; }
Property outerHTML() As String
ownerDocument (declared in Node)
property ownerDocument: Document read;
Document ownerDocument { get; }
var ownerDocument: Document { get{} }
Document ownerDocument { __get; }
ReadOnly Property ownerDocument() As Document
parentElement (declared in Node)
property parentElement: Element read;
Element parentElement { get; }
var parentElement: Element { get{} }
Element parentElement { __get; }
ReadOnly Property parentElement() As Element
parentNode (declared in Node)
property parentNode: Node read;
Node parentNode { get; }
var parentNode: Node { get{} }
Node parentNode { __get; }
ReadOnly Property parentNode() As Node
part (declared in Element)
property part: DOMTokenList read write;
DOMTokenList part { get; set; }
var part: DOMTokenList { get{} set{} }
DOMTokenList part { __get; __set; }
Property part() As DOMTokenList
pattern (declared in HTMLInputElement)
property pattern: String read write;
String pattern { get; set; }
var pattern: String { get{} set{} }
String pattern { __get; __set; }
Property pattern() As String
placeholder (declared in HTMLInputElement)
property placeholder: String read write;
String placeholder { get; set; }
var placeholder: String { get{} set{} }
String placeholder { __get; __set; }
Property placeholder() As String
prefix (declared in Element)
property prefix: String read;
String prefix { get; }
var prefix: String { get{} }
String prefix { __get; }
ReadOnly Property prefix() As String
previousSibling (declared in Node)
property previousSibling: Node read;
Node previousSibling { get; }
var previousSibling: Node { get{} }
Node previousSibling { __get; }
ReadOnly Property previousSibling() As Node
scrollHeight (declared in Element)
property scrollHeight: Int32 read;
Int32 scrollHeight { get; }
var scrollHeight: Int32 { get{} }
Int32 scrollHeight { __get; }
ReadOnly Property scrollHeight() As Int32
scrollLeft (declared in Element)
property scrollLeft: HTMLElement read write;
HTMLElement scrollLeft { get; set; }
var scrollLeft: HTMLElement { get{} set{} }
HTMLElement scrollLeft { __get; __set; }
Property scrollLeft() As HTMLElement
scrollTop (declared in Element)
property scrollTop: Int32 read write;
Int32 scrollTop { get; set; }
var scrollTop: Int32 { get{} set{} }
Int32 scrollTop { __get; __set; }
Property scrollTop() As Int32
scrollWidth (declared in Element)
property scrollWidth: Int32 read;
Int32 scrollWidth { get; }
var scrollWidth: Int32 { get{} }
Int32 scrollWidth { __get; }
ReadOnly Property scrollWidth() As Int32
shadowRoot (declared in Element)
property shadowRoot: HTMLElement read;
HTMLElement shadowRoot { get; }
var shadowRoot: HTMLElement { get{} }
HTMLElement shadowRoot { __get; }
ReadOnly Property shadowRoot() As HTMLElement
spellcheck (declared in HTMLElement)
property spellcheck: Boolean read write;
Boolean spellcheck { get; set; }
var spellcheck: Boolean { get{} set{} }
Boolean spellcheck { __get; __set; }
Property spellcheck() As Boolean
style (declared in HTMLElement)
property style: dynamic read write;
dynamic style { get; set; }
var style: dynamic { get{} set{} }
dynamic style { __get; __set; }
Property style() As dynamic
tabIndex (declared in HTMLElement)
property tabIndex: Int32 read write;
Int32 tabIndex { get; set; }
var tabIndex: Int32 { get{} set{} }
Int32 tabIndex { __get; __set; }
Property tabIndex() As Int32
tagName (declared in Element)
property tagName: String read;
String tagName { get; }
var tagName: String { get{} }
String tagName { __get; }
ReadOnly Property tagName() As String
textContent (declared in Node)
property textContent: String read write;
String textContent { get; set; }
var textContent: String { get{} set{} }
String textContent { __get; __set; }
Property textContent() As String
title (declared in HTMLElement)
property title: String read write;
String title { get; set; }
var title: String { get{} set{} }
String title { __get; __set; }
Property title() As String
type (declared in HTMLInputElement)
property type: String read write;
String type { get; set; }
var type: String { get{} set{} }
String type { __get; __set; }
Property type() As String
value (declared in HTMLInputElement)
addEventListener (dynamic, dynamic) (declared in EventTarget)
Registers an event handler of a specific event type on the EventTarget.
method addEventListener(partype: dynamic; parlistener: dynamic)
void addEventListener(dynamic partype, dynamic parlistener)
func addEventListener(_ partype: dynamic, _ parlistener: dynamic)
void addEventListener(dynamic partype, dynamic parlistener)
Sub addEventListener(partype As dynamic, parlistener As dynamic)
Parameters:
- partype:
- parlistener:
addEventListener (dynamic, dynamic, dynamic, dynamic, dynamic, dynamic) (declared in Element)
Registers an event handler to a specific event type on the element.
method addEventListener(partype: dynamic; parlistener: dynamic; paroptions: dynamic; parcapture: dynamic; paronce: dynamic; parpassive: dynamic)
void addEventListener(dynamic partype, dynamic parlistener, dynamic paroptions, dynamic parcapture, dynamic paronce, dynamic parpassive)
func addEventListener(_ partype: dynamic, _ parlistener: dynamic, _ paroptions: dynamic, _ parcapture: dynamic, _ paronce: dynamic, _ parpassive: dynamic)
void addEventListener(dynamic partype, dynamic parlistener, dynamic paroptions, dynamic parcapture, dynamic paronce, dynamic parpassive)
Sub addEventListener(partype As dynamic, parlistener As dynamic, paroptions As dynamic, parcapture As dynamic, paronce As dynamic, parpassive As dynamic)
Parameters:
- partype:
- parlistener:
- paroptions:
- parcapture:
- paronce:
- parpassive:
addEventListener (dynamic, dynamic, dynamic) (declared in EventTarget)
Registers an event handler of a specific event type on the EventTarget.
method addEventListener(type: dynamic; listener: dynamic; options: dynamic)
void addEventListener(dynamic type, dynamic listener, dynamic options)
func addEventListener(_ type: dynamic, _ listener: dynamic, _ options: dynamic)
void addEventListener(dynamic type, dynamic listener, dynamic options)
Sub addEventListener(type As dynamic, listener As dynamic, options As dynamic)
Parameters:
- type:
- listener:
- options:
addEventListener (dynamic, dynamic, Boolean) (declared in EventTarget)
Registers an event handler of a specific event type on the EventTarget.
method addEventListener(type: dynamic; listener: dynamic; useCapture: Boolean)
void addEventListener(dynamic type, dynamic listener, Boolean useCapture)
func addEventListener(_ type: dynamic, _ listener: dynamic, _ useCapture: Boolean)
void addEventListener(dynamic type, dynamic listener, Boolean useCapture)
Sub addEventListener(type As dynamic, listener As dynamic, useCapture As Boolean)
Parameters:
- type:
- listener:
- useCapture:
appendChild (declared in Node)
Adds the specified childNode argument as the last child to the current node. If the argument referenced an existing node on the DOM tree, the node will be detached from its current position and attached at the new position.
method appendChild(paraChild: dynamic): Node
Node appendChild(dynamic paraChild)
func appendChild(_ paraChild: dynamic) -> Node
Node appendChild(dynamic paraChild)
Function appendChild(paraChild As dynamic) As Node
Parameters:
- paraChild:
attachShadow (declared in Element)
Attaches a shadow DOM tree to the specified element and returns a reference to its ShadowRoot.
method attachShadow(parshadowRootInit: dynamic; parmode: dynamic; pardelegatesFocus: dynamic): ShadowRoot
ShadowRoot attachShadow(dynamic parshadowRootInit, dynamic parmode, dynamic pardelegatesFocus)
func attachShadow(_ parshadowRootInit: dynamic, _ parmode: dynamic, _ pardelegatesFocus: dynamic) -> ShadowRoot
ShadowRoot attachShadow(dynamic parshadowRootInit, dynamic parmode, dynamic pardelegatesFocus)
Function attachShadow(parshadowRootInit As dynamic, parmode As dynamic, pardelegatesFocus As dynamic) As ShadowRoot
Parameters:
- parshadowRootInit:
- parmode:
- pardelegatesFocus:
checkValidity (declared in HTMLInputElement)
Immediately runs the validity check on the element, triggering the document to fire the invalid event at the element if the value isn't valid.
method checkValidity
void checkValidity()
func checkValidity()
void checkValidity()
Sub checkValidity()
click (declared in HTMLElement)
Sends a mouse click event to the element.
method click: HTMLElement
HTMLElement click()
func click() -> HTMLElement
HTMLElement click()
Function click() As HTMLElement
cloneNode (declared in Node)
Clone a Node, and optionally, all of its contents. By default, it clones the content of the node.
method cloneNode par(pardeep: dynamic): Node
Node cloneNode par(dynamic pardeep)
func cloneNode(par pardeep: dynamic) -> Node
Node cloneNode par(dynamic pardeep)
Function cloneNode par(pardeep As dynamic) As Node
Parameters:
- pardeep:
compareDocumentPosition (declared in Node)
Compares the position of the current node against another node in any other document.
method compareDocumentPosition(parotherNode: dynamic): Int32
Int32 compareDocumentPosition(dynamic parotherNode)
func compareDocumentPosition(_ parotherNode: dynamic) -> Int32
Int32 compareDocumentPosition(dynamic parotherNode)
Function compareDocumentPosition(parotherNode As dynamic) As Int32
Parameters:
- parotherNode:
contains (declared in Node)
Returns a Boolean value indicating whether or not a node is a descendant of the calling node.
method contains(parotherNode: dynamic): Boolean
Boolean contains(dynamic parotherNode)
func contains(_ parotherNode: dynamic) -> Boolean
Boolean contains(dynamic parotherNode)
Function contains(parotherNode As dynamic) As Boolean
Parameters:
- parotherNode:
dispatchEvent (declared in Element)
Dispatches an event to this node in the DOM and returns a Boolean that indicates whether no handler canceled the event.
method dispatchEvent(parevent: dynamic): dynamic
dynamic dispatchEvent(dynamic parevent)
func dispatchEvent(_ parevent: dynamic) -> dynamic
dynamic dispatchEvent(dynamic parevent)
Function dispatchEvent(parevent As dynamic) As dynamic
Parameters:
- parevent:
focus (declared in HTMLElement)
Makes the element the current keyboard focus.
method focus(paroptions: dynamic; parpreventScroll: dynamic): HTMLElement
HTMLElement focus(dynamic paroptions, dynamic parpreventScroll)
func focus(_ paroptions: dynamic, _ parpreventScroll: dynamic) -> HTMLElement
HTMLElement focus(dynamic paroptions, dynamic parpreventScroll)
Function focus(paroptions As dynamic, parpreventScroll As dynamic) As HTMLElement
Parameters:
- paroptions:
- parpreventScroll:
getAttribute (declared in Element)
Retrieves the value of the attribute with the specified name, from the current node and returns it as an Object.
method getAttribute(parname: dynamic): String
String getAttribute(dynamic parname)
func getAttribute(_ parname: dynamic) -> String
String getAttribute(dynamic parname)
Function getAttribute(parname As dynamic) As String
Parameters:
- parname:
getAttributeNS (declared in Element)
Retrieves the value of the attribute with the specified name and namespace, from the current node and returns it as an Object.
method getAttributeNS(parnamespace: dynamic; parname: dynamic): String
String getAttributeNS(dynamic parnamespace, dynamic parname)
func getAttributeNS(_ parnamespace: dynamic, _ parname: dynamic) -> String
String getAttributeNS(dynamic parnamespace, dynamic parname)
Function getAttributeNS(parnamespace As dynamic, parname As dynamic) As String
Parameters:
- parnamespace:
- parname:
getBoundingClientRect (declared in Element)
Returns the size of an element and its position relative to the viewport.
method getBoundingClientRect: DOMRect
DOMRect getBoundingClientRect()
func getBoundingClientRect() -> DOMRect
DOMRect getBoundingClientRect()
Function getBoundingClientRect() As DOMRect
getClientRects (declared in Element)
Returns a collection of rectangles that indicate the bounding rectangles for each line of text in a client.
method getClientRects: DOMRect
DOMRect getClientRects()
func getClientRects() -> DOMRect
DOMRect getClientRects()
Function getClientRects() As DOMRect
getElementsByClassName (declared in Element)
Returns a live HTMLCollection that contains all descendants of the current element that possess the list of classes given in the parameter.
method getElementsByClassName(parnames: dynamic): HTMLCollection
HTMLCollection getElementsByClassName(dynamic parnames)
func getElementsByClassName(_ parnames: dynamic) -> HTMLCollection
HTMLCollection getElementsByClassName(dynamic parnames)
Function getElementsByClassName(parnames As dynamic) As HTMLCollection
Parameters:
- parnames:
getElementsByTagName (declared in Element)
Returns a live HTMLCollection containing all descendant elements, of a particular tag name, from the current element.
method getElementsByTagName(partagName: dynamic): HTMLCollection
HTMLCollection getElementsByTagName(dynamic partagName)
func getElementsByTagName(_ partagName: dynamic) -> HTMLCollection
HTMLCollection getElementsByTagName(dynamic partagName)
Function getElementsByTagName(partagName As dynamic) As HTMLCollection
Parameters:
- partagName:
getElementsByTagNameNS (declared in Element)
Returns a live HTMLCollection containing all descendant elements, of a particular tag name and namespace, from the current element.
method getElementsByTagNameNS(parnamespaceURI: dynamic; parlocalName: dynamic): HTMLCollection
HTMLCollection getElementsByTagNameNS(dynamic parnamespaceURI, dynamic parlocalName)
func getElementsByTagNameNS(_ parnamespaceURI: dynamic, _ parlocalName: dynamic) -> HTMLCollection
HTMLCollection getElementsByTagNameNS(dynamic parnamespaceURI, dynamic parlocalName)
Function getElementsByTagNameNS(parnamespaceURI As dynamic, parlocalName As dynamic) As HTMLCollection
Parameters:
- parnamespaceURI:
- parlocalName:
getRootNode (declared in Node)
Returns the context object's root which optionally includes the shadow root if it is available.
method getRootNode(paroptions: dynamic): Node
Node getRootNode(dynamic paroptions)
func getRootNode(_ paroptions: dynamic) -> Node
Node getRootNode(dynamic paroptions)
Function getRootNode(paroptions As dynamic) As Node
Parameters:
- paroptions:
hasAttribute (declared in Element)
Returns a Boolean indicating if the element has the specified attribute or not.
method hasAttribute(parname: dynamic): HTMLElement
HTMLElement hasAttribute(dynamic parname)
func hasAttribute(_ parname: dynamic) -> HTMLElement
HTMLElement hasAttribute(dynamic parname)
Function hasAttribute(parname As dynamic) As HTMLElement
Parameters:
- parname:
hasAttributeNS (declared in Element)
Returns a Boolean indicating if the element has the specified attribute, in the specified namespace, or not.
method hasAttributeNS(parnamespace: dynamic; localName: dynamic): HTMLElement
HTMLElement hasAttributeNS(dynamic parnamespace, dynamic localName)
func hasAttributeNS(_ parnamespace: dynamic, _ localName: dynamic) -> HTMLElement
HTMLElement hasAttributeNS(dynamic parnamespace, dynamic localName)
Function hasAttributeNS(parnamespace As dynamic, localName As dynamic) As HTMLElement
Parameters:
- parnamespace:
- localName:
hasAttributes (declared in Element)
Returns a Boolean indicating if the element has one or more HTML attributes present.
method hasAttributes: HTMLElement
HTMLElement hasAttributes()
func hasAttributes() -> HTMLElement
HTMLElement hasAttributes()
Function hasAttributes() As HTMLElement
hasChildNodes (declared in Node)
Returns a Boolean indicating whether or not the element has any child nodes.
method hasChildNodes: Node
Node hasChildNodes()
func hasChildNodes() -> Node
Node hasChildNodes()
Function hasChildNodes() As Node
hasPointerCapture (declared in Element)
Indicates whether the element on which it is invoked has pointer capture for the pointer identified by the given pointer ID.
method hasPointerCapture(parpointerId: dynamic): HTMLElement
HTMLElement hasPointerCapture(dynamic parpointerId)
func hasPointerCapture(_ parpointerId: dynamic) -> HTMLElement
HTMLElement hasPointerCapture(dynamic parpointerId)
Function hasPointerCapture(parpointerId As dynamic) As HTMLElement
Parameters:
- parpointerId:
insertAdjacentElement (declared in Element)
Inserts a given element node at a given position relative to the element it is invoked upon.
method insertAdjacentElement(parposition: dynamic; parelement: dynamic): HTMLElement
HTMLElement insertAdjacentElement(dynamic parposition, dynamic parelement)
func insertAdjacentElement(_ parposition: dynamic, _ parelement: dynamic) -> HTMLElement
HTMLElement insertAdjacentElement(dynamic parposition, dynamic parelement)
Function insertAdjacentElement(parposition As dynamic, parelement As dynamic) As HTMLElement
Parameters:
- parposition:
- parelement:
insertAdjacentHTML (declared in Element)
Parses the text as HTML or XML and inserts the resulting nodes into the tree in the position given.
method insertAdjacentHTML(parposition: dynamic; partext: dynamic): String
String insertAdjacentHTML(dynamic parposition, dynamic partext)
func insertAdjacentHTML(_ parposition: dynamic, _ partext: dynamic) -> String
String insertAdjacentHTML(dynamic parposition, dynamic partext)
Function insertAdjacentHTML(parposition As dynamic, partext As dynamic) As String
Parameters:
- parposition:
- partext:
insertAdjacentText (declared in Element)
Inserts a given text node at a given position relative to the element it is invoked upon.
method insertAdjacentText(parposition: dynamic; parelement: dynamic): HTMLElement
HTMLElement insertAdjacentText(dynamic parposition, dynamic parelement)
func insertAdjacentText(_ parposition: dynamic, _ parelement: dynamic) -> HTMLElement
HTMLElement insertAdjacentText(dynamic parposition, dynamic parelement)
Function insertAdjacentText(parposition As dynamic, parelement As dynamic) As HTMLElement
Parameters:
- parposition:
- parelement:
insertBefore (declared in Node)
Inserts a Node before the reference node as a child of a specified parent node.
method insertBefore(parnewNode: dynamic; parreferenceNode: dynamic): Node
Node insertBefore(dynamic parnewNode, dynamic parreferenceNode)
func insertBefore(_ parnewNode: dynamic, _ parreferenceNode: dynamic) -> Node
Node insertBefore(dynamic parnewNode, dynamic parreferenceNode)
Function insertBefore(parnewNode As dynamic, parreferenceNode As dynamic) As Node
Parameters:
- parnewNode:
- parreferenceNode:
isDefaultNamespace (declared in Node)
Accepts a namespace URI as an argument and returns a Boolean with a value of true if the namespace is the default namespace on the given node or false if not.
method isDefaultNamespace: Boolean
Boolean isDefaultNamespace()
func isDefaultNamespace() -> Boolean
Boolean isDefaultNamespace()
Function isDefaultNamespace() As Boolean
isEqualNode (declared in Node)
Returns a Boolean which indicates whether or not two nodes are of the same type and all their defining data points match.
Parameters:
- parotherNode:
isSameNode (declared in Node)
Returns a Boolean value indicating whether or not the two nodes are the same (that is, they reference the same object).
method isSameNode: Node
Node isSameNode()
func isSameNode() -> Node
Node isSameNode()
Function isSameNode() As Node
lookupNamespaceURI (declared in Node)
Accepts a prefix and returns the namespace URI associated with it on the given node if found (and null if not). Supplying null for the prefix will return the default namespace.
method lookupNamespaceURI(parprefix: dynamic)
void lookupNamespaceURI(dynamic parprefix)
func lookupNamespaceURI(_ parprefix: dynamic)
void lookupNamespaceURI(dynamic parprefix)
Sub lookupNamespaceURI(parprefix As dynamic)
Parameters:
- parprefix:
normalize (declared in Node)
Clean up all the text nodes under this element (merge adjacent, remove empty).
method normalize: String
String normalize()
func normalize() -> String
String normalize()
Function normalize() As String
querySelector (declared in Element)
Returns the first Node which matches the specified selector string relative to the element.
method querySelector(parselectors: dynamic): Element
Element querySelector(dynamic parselectors)
func querySelector(_ parselectors: dynamic) -> Element
Element querySelector(dynamic parselectors)
Function querySelector(parselectors As dynamic) As Element
Parameters:
- parselectors:
querySelectorAll (declared in Element)
Returns a NodeList of nodes which match the specified selector string relative to the element.
method querySelectorAll(parselectors: dynamic): HTMLElement
HTMLElement querySelectorAll(dynamic parselectors)
func querySelectorAll(_ parselectors: dynamic) -> HTMLElement
HTMLElement querySelectorAll(dynamic parselectors)
Function querySelectorAll(parselectors As dynamic) As HTMLElement
Parameters:
- parselectors:
releasePointerCapture (declared in Element)
Releases (stops) pointer capture that was previously set for a specific pointer event.
method releasePointerCapture(parpointerId: dynamic)
void releasePointerCapture(dynamic parpointerId)
func releasePointerCapture(_ parpointerId: dynamic)
void releasePointerCapture(dynamic parpointerId)
Sub releasePointerCapture(parpointerId As dynamic)
Parameters:
- parpointerId:
removeAttribute (declared in Element)
Removes the named attribute from the current node.
method removeAttribute(parattrName: dynamic)
void removeAttribute(dynamic parattrName)
func removeAttribute(_ parattrName: dynamic)
void removeAttribute(dynamic parattrName)
Sub removeAttribute(parattrName As dynamic)
Parameters:
- parattrName:
removeEventListener (declared in Element)
Removes an event listener from the element.
method removeEventListener(partype: dynamic; parlistener: dynamic; paroptions: dynamic; paruseCapture: dynamic): dynamic
dynamic removeEventListener(dynamic partype, dynamic parlistener, dynamic paroptions, dynamic paruseCapture)
func removeEventListener(_ partype: dynamic, _ parlistener: dynamic, _ paroptions: dynamic, _ paruseCapture: dynamic) -> dynamic
dynamic removeEventListener(dynamic partype, dynamic parlistener, dynamic paroptions, dynamic paruseCapture)
Function removeEventListener(partype As dynamic, parlistener As dynamic, paroptions As dynamic, paruseCapture As dynamic) As dynamic
Parameters:
- partype:
- parlistener:
- paroptions:
- paruseCapture:
replaceChild (declared in Node)
Replaces one child Node of the current one with the second one given in parameter.
method replaceChild(parnewChild: dynamic; paroldChild: dynamic): Node
Node replaceChild(dynamic parnewChild, dynamic paroldChild)
func replaceChild(_ parnewChild: dynamic, _ paroldChild: dynamic) -> Node
Node replaceChild(dynamic parnewChild, dynamic paroldChild)
Function replaceChild(parnewChild As dynamic, paroldChild As dynamic) As Node
Parameters:
- parnewChild:
- paroldChild:
reportValidity (declared in HTMLInputElement)
Returns true if the element's value passes validity checks; otherwise, returns false.
method reportValidity: Boolean
Boolean reportValidity()
func reportValidity() -> Boolean
Boolean reportValidity()
Function reportValidity() As Boolean
select (declared in HTMLInputElement)
Selects the entire content of the <input> element, if the element's content is selectable. For elements with no selectable text content (such as a visual color picker or calendar date input), this method does nothing.
method select
void select()
func select()
void select()
Sub select()
setAttribute (declared in Element)
Sets the value of a named attribute of the current node.
method setAttribute(parname: dynamic; parvalue: dynamic)
void setAttribute(dynamic parname, dynamic parvalue)
func setAttribute(_ parname: dynamic, _ parvalue: dynamic)
void setAttribute(dynamic parname, dynamic parvalue)
Sub setAttribute(parname As dynamic, parvalue As dynamic)
Parameters:
- parname:
- parvalue:
setCustomValidity (declared in HTMLInputElement)
Sets a custom message to display if the input element's value isn't valid.
method setCustomValidity(aParam: String)
void setCustomValidity(String aParam)
func setCustomValidity(_ aParam: String)
void setCustomValidity(String aParam)
Sub setCustomValidity(aParam As String)
Parameters:
- aParam:
setPointerCapture (declared in Element)
Designates a specific element as the capture target of future pointer events.
method setPointerCapture(parpointerId: dynamic)
void setPointerCapture(dynamic parpointerId)
func setPointerCapture(_ parpointerId: dynamic)
void setPointerCapture(dynamic parpointerId)
Sub setPointerCapture(parpointerId As dynamic)
Parameters:
- parpointerId:
setRangeText (declared in HTMLInputElement)
Sets the contents of the specified range of characters in the input element to a given string. A selectMode parameter is available to allow controlling how the existing content is affected.
method setRangeText(aParam: String)
void setRangeText(String aParam)
func setRangeText(_ aParam: String)
void setRangeText(String aParam)
Sub setRangeText(aParam As String)
Parameters:
- aParam:
setSelectionRange (dynamic, dynamic) (declared in HTMLInputElement)
Selects the specified range of characters within a textual input element. Does nothing for inputs which aren't presented as text input fields.
method setSelectionRange(selectionStart: dynamic; selectionEnd: dynamic)
void setSelectionRange(dynamic selectionStart, dynamic selectionEnd)
func setSelectionRange(_ selectionStart: dynamic, _ selectionEnd: dynamic)
void setSelectionRange(dynamic selectionStart, dynamic selectionEnd)
Sub setSelectionRange(selectionStart As dynamic, selectionEnd As dynamic)
Parameters:
- selectionStart:
- selectionEnd:
setSelectionRange (dynamic, dynamic, dynamic) (declared in HTMLInputElement)
Selects the specified range of characters within a textual input element. Does nothing for inputs which aren't presented as text input fields.
method setSelectionRange(selectionStart: dynamic; selectionEnd: dynamic; selectionDirection: dynamic)
void setSelectionRange(dynamic selectionStart, dynamic selectionEnd, dynamic selectionDirection)
func setSelectionRange(_ selectionStart: dynamic, _ selectionEnd: dynamic, _ selectionDirection: dynamic)
void setSelectionRange(dynamic selectionStart, dynamic selectionEnd, dynamic selectionDirection)
Sub setSelectionRange(selectionStart As dynamic, selectionEnd As dynamic, selectionDirection As dynamic)
Parameters:
- selectionStart:
- selectionEnd:
- selectionDirection:
stepDown (declared in HTMLInputElement)
Decrements the value of a numeric input by one, by default, or by the specified number of units.
method stepDown(stepIncrement: dynamic)
void stepDown(dynamic stepIncrement)
func stepDown(_ stepIncrement: dynamic)
void stepDown(dynamic stepIncrement)
Sub stepDown(stepIncrement As dynamic)
Parameters:
- stepIncrement:
stepUp (declared in HTMLInputElement)
Increments the value of a numeric input by one or by the specified number of units.
method stepUp(stepIncrement: dynamic)
void stepUp(dynamic stepIncrement)
func stepUp(_ stepIncrement: dynamic)
void stepUp(dynamic stepIncrement)
Sub stepUp(stepIncrement As dynamic)
Parameters:
- stepIncrement:
toggleAttribute (declared in Element)
Toggles a boolean attribute, removing it if it is present and adding it if it is not present, on the specified element.
method toggleAttribute(parname: dynamic; parforce: dynamic): Boolean
Boolean toggleAttribute(dynamic parname, dynamic parforce)
func toggleAttribute(_ parname: dynamic, _ parforce: dynamic) -> Boolean
Boolean toggleAttribute(dynamic parname, dynamic parforce)
Function toggleAttribute(parname As dynamic, parforce As dynamic) As Boolean
Parameters:
- parname:
- parforce: