HTMLElement

Overview

The HTMLElement interface represents any HTML element. Some elements directly implement this interface, while others implement it via an interface that inherits it.

Location


 

accessKey

 

property accessKey: String read write;

 

String accessKey { get; set; }

 

var accessKey: String { get{} set{} }

 

String accessKey { __get; __set; }

 

Property accessKey() As String

accessKeyLabel

 

property accessKeyLabel: String read;

 

String accessKeyLabel { get; }

 

var accessKeyLabel: String { get{} }

 

String accessKeyLabel { __get; }

 

ReadOnly Property accessKeyLabel() As String

click

Sends a mouse click event to the element.

 

method click: HTMLElement

 

HTMLElement click()

 

func click() -> HTMLElement

 

HTMLElement click()

 

Function click() As HTMLElement

contentEditable

 

property contentEditable: String read write;

 

String contentEditable { get; set; }

 

var contentEditable: String { get{} set{} }

 

String contentEditable { __get; __set; }

 

Property contentEditable() As String

dataset

 

property dataset: String read;

 

String dataset { get; }

 

var dataset: String { get{} }

 

String dataset { __get; }

 

ReadOnly Property dataset() As String

dir

 

property dir: String read write;

 

String dir { get; set; }

 

var dir: String { get{} set{} }

 

String dir { __get; __set; }

 

Property dir() As String

draggable

 

property draggable: HTMLElement read write;

 

HTMLElement draggable { get; set; }

 

var draggable: HTMLElement { get{} set{} }

 

HTMLElement draggable { __get; __set; }

 

Property draggable() As HTMLElement

dropzone

 

property dropzone: DOMTokenList read;

 

DOMTokenList dropzone { get; }

 

var dropzone: DOMTokenList { get{} }

 

DOMTokenList dropzone { __get; }

 

ReadOnly Property dropzone() As DOMTokenList

focus

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:

hidden

 

property hidden: Boolean read write;

 

Boolean hidden { get; set; }

 

var hidden: Boolean { get{} set{} }

 

Boolean hidden { __get; __set; }

 

Property hidden() As Boolean

inert

 

property inert: Boolean read write;

 

Boolean inert { get; set; }

 

var inert: Boolean { get{} set{} }

 

Boolean inert { __get; __set; }

 

Property inert() As Boolean

innerText

 

property innerText: String read write;

 

String innerText { get; set; }

 

var innerText: String { get{} set{} }

 

String innerText { __get; __set; }

 

Property innerText() As String

isContentEditable

 

property isContentEditable: Boolean read;

 

Boolean isContentEditable { get; }

 

var isContentEditable: Boolean { get{} }

 

Boolean isContentEditable { __get; }

 

ReadOnly Property isContentEditable() As Boolean

lang

 

property lang: String read write;

 

String lang { get; set; }

 

var lang: String { get{} set{} }

 

String lang { __get; __set; }

 

Property lang() As String

noModule

 

property noModule: Boolean read write;

 

Boolean noModule { get; set; }

 

var noModule: Boolean { get{} set{} }

 

Boolean noModule { __get; __set; }

 

Property noModule() As Boolean

spellcheck

 

property spellcheck: Boolean read write;

 

Boolean spellcheck { get; set; }

 

var spellcheck: Boolean { get{} set{} }

 

Boolean spellcheck { __get; __set; }

 

Property spellcheck() As Boolean

style

 

property style: dynamic read write;

 

dynamic style { get; set; }

 

var style: dynamic { get{} set{} }

 

dynamic style { __get; __set; }

 

Property style() As dynamic

tabIndex

 

property tabIndex: Int32 read write;

 

Int32 tabIndex { get; set; }

 

var tabIndex: Int32 { get{} set{} }

 

Int32 tabIndex { __get; __set; }

 

Property tabIndex() As Int32

title

 

property title: String read write;

 

String title { get; set; }

 

var title: String { get{} set{} }

 

String title { __get; __set; }

 

Property title() As String

 

accessKey

 

property accessKey: String read write;

 

String accessKey { get; set; }

 

var accessKey: String { get{} set{} }

 

String accessKey { __get; __set; }

 

Property accessKey() As String

accessKeyLabel

 

property accessKeyLabel: String read;

 

String accessKeyLabel { get; }

 

var accessKeyLabel: String { get{} }

 

String accessKeyLabel { __get; }

 

ReadOnly Property accessKeyLabel() As String

contentEditable

 

property contentEditable: String read write;

 

String contentEditable { get; set; }

 

var contentEditable: String { get{} set{} }

 

String contentEditable { __get; __set; }

 

Property contentEditable() As String

dataset

 

property dataset: String read;

 

String dataset { get; }

 

var dataset: String { get{} }

 

String dataset { __get; }

 

ReadOnly Property dataset() As String

dir

 

property dir: String read write;

 

String dir { get; set; }

 

var dir: String { get{} set{} }

 

String dir { __get; __set; }

 

Property dir() As String

draggable

 

property draggable: HTMLElement read write;

 

HTMLElement draggable { get; set; }

 

var draggable: HTMLElement { get{} set{} }

 

HTMLElement draggable { __get; __set; }

 

Property draggable() As HTMLElement

dropzone

 

property dropzone: DOMTokenList read;

 

DOMTokenList dropzone { get; }

 

var dropzone: DOMTokenList { get{} }

 

DOMTokenList dropzone { __get; }

 

ReadOnly Property dropzone() As DOMTokenList

hidden

 

property hidden: Boolean read write;

 

Boolean hidden { get; set; }

 

var hidden: Boolean { get{} set{} }

 

Boolean hidden { __get; __set; }

 

Property hidden() As Boolean

inert

 

property inert: Boolean read write;

 

Boolean inert { get; set; }

 

var inert: Boolean { get{} set{} }

 

Boolean inert { __get; __set; }

 

Property inert() As Boolean

innerText

 

property innerText: String read write;

 

String innerText { get; set; }

 

var innerText: String { get{} set{} }

 

String innerText { __get; __set; }

 

Property innerText() As String

isContentEditable

 

property isContentEditable: Boolean read;

 

Boolean isContentEditable { get; }

 

var isContentEditable: Boolean { get{} }

 

Boolean isContentEditable { __get; }

 

ReadOnly Property isContentEditable() As Boolean

lang

 

property lang: String read write;

 

String lang { get; set; }

 

var lang: String { get{} set{} }

 

String lang { __get; __set; }

 

Property lang() As String

noModule

 

property noModule: Boolean read write;

 

Boolean noModule { get; set; }

 

var noModule: Boolean { get{} set{} }

 

Boolean noModule { __get; __set; }

 

Property noModule() As Boolean

spellcheck

 

property spellcheck: Boolean read write;

 

Boolean spellcheck { get; set; }

 

var spellcheck: Boolean { get{} set{} }

 

Boolean spellcheck { __get; __set; }

 

Property spellcheck() As Boolean

style

 

property style: dynamic read write;

 

dynamic style { get; set; }

 

var style: dynamic { get{} set{} }

 

dynamic style { __get; __set; }

 

Property style() As dynamic

tabIndex

 

property tabIndex: Int32 read write;

 

Int32 tabIndex { get; set; }

 

var tabIndex: Int32 { get{} set{} }

 

Int32 tabIndex { __get; __set; }

 

Property tabIndex() As Int32

title

 

property title: String read write;

 

String title { get; set; }

 

var title: String { get{} set{} }

 

String title { __get; __set; }

 

Property title() As String

 

click

Sends a mouse click event to the element.

 

method click: HTMLElement

 

HTMLElement click()

 

func click() -> HTMLElement

 

HTMLElement click()

 

Function click() As HTMLElement

focus

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: