Document

Overview

The Document interface represents any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree.

Location

 

adoptNode

Adopt node from an external document.

 

method adoptNode(parexternalNode: dynamic): Node

 

Node adoptNode(dynamic parexternalNode)

 

func adoptNode(_ parexternalNode: dynamic) -> Node

 

Node adoptNode(dynamic parexternalNode)

 

Function adoptNode(parexternalNode As dynamic) As Node

Parameters:

  • parexternalNode:

anchors

 

property anchors: dynamic read;

 

dynamic anchors { get; }

 

var anchors: dynamic { get{} }

 

dynamic anchors { __get; }

 

ReadOnly Property anchors() As dynamic

body

 

property body: HTMLElement read write;

 

HTMLElement body { get; set; }

 

var body: HTMLElement { get{} set{} }

 

HTMLElement body { __get; __set; }

 

Property body() As HTMLElement

characterSet

 

property characterSet: String read;

 

String characterSet { get; }

 

var characterSet: String { get{} }

 

String characterSet { __get; }

 

ReadOnly Property characterSet() As String

close

Closes a document stream for writing.

 

method close: dynamic

 

dynamic close()

 

func close() -> dynamic

 

dynamic close()

 

Function close() As dynamic

 

property cookie: dynamic read write;

 

dynamic cookie { get; set; }

 

var cookie: dynamic { get{} set{} }

 

dynamic cookie { __get; __set; }

 

Property cookie() As dynamic

createAttribute

Creates a new Attr object and returns it.

 

method createAttribute(parname: dynamic): dynamic

 

dynamic createAttribute(dynamic parname)

 

func createAttribute(_ parname: dynamic) -> dynamic

 

dynamic createAttribute(dynamic parname)

 

Function createAttribute(parname As dynamic) As dynamic

Parameters:

  • parname:

createAttributeNS

Creates a new attribute node in a given namespace and returns it.

 

method createAttributeNS: dynamic

 

dynamic createAttributeNS()

 

func createAttributeNS() -> dynamic

 

dynamic createAttributeNS()

 

Function createAttributeNS() As dynamic

createCDATASection

Creates a new CDATA node and returns it.

 

method createCDATASection(pardata: dynamic): CDATASection

 

CDATASection createCDATASection(dynamic pardata)

 

func createCDATASection(_ pardata: dynamic) -> CDATASection

 

CDATASection createCDATASection(dynamic pardata)

 

Function createCDATASection(pardata As dynamic) As CDATASection

Parameters:

  • pardata:

createComment

Creates a new comment node and returns it.

 

method createComment(pardata: dynamic): Comment

 

Comment createComment(dynamic pardata)

 

func createComment(_ pardata: dynamic) -> Comment

 

Comment createComment(dynamic pardata)

 

Function createComment(pardata As dynamic) As Comment

Parameters:

  • pardata:

createDocumentFragment

Creates a new document fragment.

 

method createDocumentFragment: Document

 

Document createDocumentFragment()

 

func createDocumentFragment() -> Document

 

Document createDocumentFragment()

 

Function createDocumentFragment() As Document

createElement (dynamic, dynamic): Element

Creates a new element with the given tag name.

 

method createElement(partagName: dynamic; paroptions: dynamic): Element

 

Element createElement(dynamic partagName, dynamic paroptions)

 

func createElement(_ partagName: dynamic, _ paroptions: dynamic) -> Element

 

Element createElement(dynamic partagName, dynamic paroptions)

 

Function createElement(partagName As dynamic, paroptions As dynamic) As Element

Parameters:

  • partagName:
  • paroptions:

createElement (dynamic): Element

Creates a new element with the given tag name.

 

method createElement(tagName: dynamic): Element

 

Element createElement(dynamic tagName)

 

func createElement(_ tagName: dynamic) -> Element

 

Element createElement(dynamic tagName)

 

Function createElement(tagName As dynamic) As Element

Parameters:

  • tagName:

createElementNS

Creates a new element with the given tag name and namespace URI.

 

method createElementNS(parnamespaceURI: dynamic; parqualifiedName: dynamic; paroptions: dynamic): Element

 

Element createElementNS(dynamic parnamespaceURI, dynamic parqualifiedName, dynamic paroptions)

 

func createElementNS(_ parnamespaceURI: dynamic, _ parqualifiedName: dynamic, _ paroptions: dynamic) -> Element

 

Element createElementNS(dynamic parnamespaceURI, dynamic parqualifiedName, dynamic paroptions)

 

Function createElementNS(parnamespaceURI As dynamic, parqualifiedName As dynamic, paroptions As dynamic) As Element

Parameters:

  • parnamespaceURI:
  • parqualifiedName:
  • paroptions:

createEvent

Creates an event object.

 

method createEvent(partype: dynamic): Event

 

Event createEvent(dynamic partype)

 

func createEvent(_ partype: dynamic) -> Event

 

Event createEvent(dynamic partype)

 

Function createEvent(partype As dynamic) As Event

Parameters:

  • partype:

createExpression

Compiles an XPathExpression which can then be used for (repeated) evaluations.

 

method createExpression: dynamic

 

dynamic createExpression()

 

func createExpression() -> dynamic

 

dynamic createExpression()

 

Function createExpression() As dynamic

createNodeIterator

Creates a NodeIterator object.

 

method createNodeIterator(parroot: dynamic; parwhatToShow: dynamic; parfilter: dynamic): Node

 

Node createNodeIterator(dynamic parroot, dynamic parwhatToShow, dynamic parfilter)

 

func createNodeIterator(_ parroot: dynamic, _ parwhatToShow: dynamic, _ parfilter: dynamic) -> Node

 

Node createNodeIterator(dynamic parroot, dynamic parwhatToShow, dynamic parfilter)

 

Function createNodeIterator(parroot As dynamic, parwhatToShow As dynamic, parfilter As dynamic) As Node

Parameters:

  • parroot:
  • parwhatToShow:
  • parfilter:

createNSResolver

Creates an XPathNSResolver object.

 

method createNSResolver: XPathNSResolver

 

XPathNSResolver createNSResolver()

 

func createNSResolver() -> XPathNSResolver

 

XPathNSResolver createNSResolver()

 

Function createNSResolver() As XPathNSResolver

createProcessingInstruction

Creates a new ProcessingInstruction object.

 

method createProcessingInstruction: ProcessingInstruction

 

ProcessingInstruction createProcessingInstruction()

 

func createProcessingInstruction() -> ProcessingInstruction

 

ProcessingInstruction createProcessingInstruction()

 

Function createProcessingInstruction() As ProcessingInstruction

createRange

Creates a Range object.

 

method createRange: Range

 

Range createRange()

 

func createRange() -> Range

 

Range createRange()

 

Function createRange() As Range

createTextNode

Creates a text node.

 

method createTextNode(pardata: dynamic): Node

 

Node createTextNode(dynamic pardata)

 

func createTextNode(_ pardata: dynamic) -> Node

 

Node createTextNode(dynamic pardata)

 

Function createTextNode(pardata As dynamic) As Node

Parameters:

  • pardata:

createTouchList

Creates a TouchList object.

 

method createTouchList(partouches: dynamic): TouchList

 

TouchList createTouchList(dynamic partouches)

 

func createTouchList(_ partouches: dynamic) -> TouchList

 

TouchList createTouchList(dynamic partouches)

 

Function createTouchList(partouches As dynamic) As TouchList

Parameters:

  • partouches:

createTreeWalker

Creates a TreeWalker object.

 

method createTreeWalker(parroot: dynamic; parwhatToShow: dynamic; parfilter: dynamic; parentityReferenceExpansion: dynamic): TreeWalker

 

TreeWalker createTreeWalker(dynamic parroot, dynamic parwhatToShow, dynamic parfilter, dynamic parentityReferenceExpansion)

 

func createTreeWalker(_ parroot: dynamic, _ parwhatToShow: dynamic, _ parfilter: dynamic, _ parentityReferenceExpansion: dynamic) -> TreeWalker

 

TreeWalker createTreeWalker(dynamic parroot, dynamic parwhatToShow, dynamic parfilter, dynamic parentityReferenceExpansion)

 

Function createTreeWalker(parroot As dynamic, parwhatToShow As dynamic, parfilter As dynamic, parentityReferenceExpansion As dynamic) As TreeWalker

Parameters:

  • parroot:
  • parwhatToShow:
  • parfilter:
  • parentityReferenceExpansion:

defaultView

 

property defaultView: Window read;

 

Window defaultView { get; }

 

var defaultView: Window { get{} }

 

Window defaultView { __get; }

 

ReadOnly Property defaultView() As Window

designMode

 

property designMode: dynamic read write;

 

dynamic designMode { get; set; }

 

var designMode: dynamic { get{} set{} }

 

dynamic designMode { __get; __set; }

 

Property designMode() As dynamic

dir

 

property dir: String read;

 

String dir { get; }

 

var dir: String { get{} }

 

String dir { __get; }

 

ReadOnly Property dir() As String

doctype

 

property doctype: dynamic read;

 

dynamic doctype { get; }

 

var doctype: dynamic { get{} }

 

dynamic doctype { __get; }

 

ReadOnly Property doctype() As dynamic

documentElement

 

property documentElement: Element read;

 

Element documentElement { get; }

 

var documentElement: Element { get{} }

 

Element documentElement { __get; }

 

ReadOnly Property documentElement() As Element

documentURI

 

property documentURI: String read;

 

String documentURI { get; }

 

var documentURI: String { get{} }

 

String documentURI { __get; }

 

ReadOnly Property documentURI() As String

domain

 

property domain: String read write;

 

String domain { get; set; }

 

var domain: String { get{} set{} }

 

String domain { __get; __set; }

 

Property domain() As String

elementFromPoint

Returns the topmost element at the specified coordinates.

 

method elementFromPoint(parx: dynamic; pary: dynamic): dynamic

 

dynamic elementFromPoint(dynamic parx, dynamic pary)

 

func elementFromPoint(_ parx: dynamic, _ pary: dynamic) -> dynamic

 

dynamic elementFromPoint(dynamic parx, dynamic pary)

 

Function elementFromPoint(parx As dynamic, pary As dynamic) As dynamic

Parameters:

  • parx:
  • pary:

embeds

 

property embeds: HTMLCollection read;

 

HTMLCollection embeds { get; }

 

var embeds: HTMLCollection { get{} }

 

HTMLCollection embeds { __get; }

 

ReadOnly Property embeds() As HTMLCollection

enableStyleSheetsForSet

Enables the style sheets for the specified style sheet set.

 

method enableStyleSheetsForSet(parname: dynamic): dynamic

 

dynamic enableStyleSheetsForSet(dynamic parname)

 

func enableStyleSheetsForSet(_ parname: dynamic) -> dynamic

 

dynamic enableStyleSheetsForSet(dynamic parname)

 

Function enableStyleSheetsForSet(parname As dynamic) As dynamic

Parameters:

  • parname:

evaluate

Evaluates an XPath expression.

 

method evaluate(parxpathExpression: dynamic; parcontextNode: dynamic; parnamespaceResolver: dynamic; parresultType: dynamic; parresult: dynamic): dynamic

 

dynamic evaluate(dynamic parxpathExpression, dynamic parcontextNode, dynamic parnamespaceResolver, dynamic parresultType, dynamic parresult)

 

func evaluate(_ parxpathExpression: dynamic, _ parcontextNode: dynamic, _ parnamespaceResolver: dynamic, _ parresultType: dynamic, _ parresult: dynamic) -> dynamic

 

dynamic evaluate(dynamic parxpathExpression, dynamic parcontextNode, dynamic parnamespaceResolver, dynamic parresultType, dynamic parresult)

 

Function evaluate(parxpathExpression As dynamic, parcontextNode As dynamic, parnamespaceResolver As dynamic, parresultType As dynamic, parresult As dynamic) As dynamic

Parameters:

  • parxpathExpression:
  • parcontextNode:
  • parnamespaceResolver:
  • parresultType:
  • parresult:

execCommand

On an editable document, executes a formating command.

 

method execCommand(paraCommandName: dynamic; paraShowDefaultUI: dynamic; paraValueArgument: dynamic): dynamic

 

dynamic execCommand(dynamic paraCommandName, dynamic paraShowDefaultUI, dynamic paraValueArgument)

 

func execCommand(_ paraCommandName: dynamic, _ paraShowDefaultUI: dynamic, _ paraValueArgument: dynamic) -> dynamic

 

dynamic execCommand(dynamic paraCommandName, dynamic paraShowDefaultUI, dynamic paraValueArgument)

 

Function execCommand(paraCommandName As dynamic, paraShowDefaultUI As dynamic, paraValueArgument As dynamic) As dynamic

Parameters:

  • paraCommandName:
  • paraShowDefaultUI:
  • paraValueArgument:

fonts

 

property fonts: dynamic read write;

 

dynamic fonts { get; set; }

 

var fonts: dynamic { get{} set{} }

 

dynamic fonts { __get; __set; }

 

Property fonts() As dynamic

forms

 

property forms: HTMLCollection read;

 

HTMLCollection forms { get; }

 

var forms: HTMLCollection { get{} }

 

HTMLCollection forms { __get; }

 

ReadOnly Property forms() As HTMLCollection

fullscreenElement

 

property fullscreenElement: Element read;

 

Element fullscreenElement { get; }

 

var fullscreenElement: Element { get{} }

 

Element fullscreenElement { __get; }

 

ReadOnly Property fullscreenElement() As Element

getElementById

Returns an object reference to the identified element.

 

method getElementById(parid: dynamic): dynamic

 

dynamic getElementById(dynamic parid)

 

func getElementById(_ parid: dynamic) -> dynamic

 

dynamic getElementById(dynamic parid)

 

Function getElementById(parid As dynamic) As dynamic

Parameters:

  • parid:

getElementsByClassName

Returns a list of elements with the given class name.

 

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:

getElementsByName

Returns a list of elements with the given name.

 

method getElementsByName(parname: dynamic): HTMLCollection

 

HTMLCollection getElementsByName(dynamic parname)

 

func getElementsByName(_ parname: dynamic) -> HTMLCollection

 

HTMLCollection getElementsByName(dynamic parname)

 

Function getElementsByName(parname As dynamic) As HTMLCollection

Parameters:

  • parname:

getElementsByTagName

Returns a list of elements with the given tag name.

 

method getElementsByTagName(parname: dynamic): HTMLCollection

 

HTMLCollection getElementsByTagName(dynamic parname)

 

func getElementsByTagName(_ parname: dynamic) -> HTMLCollection

 

HTMLCollection getElementsByTagName(dynamic parname)

 

Function getElementsByTagName(parname As dynamic) As HTMLCollection

Parameters:

  • parname:

getElementsByTagNameNS

Returns a list of elements with the given tag name and namespace.

 

method getElementsByTagNameNS(parnamespace: dynamic; parname: dynamic): HTMLCollection

 

HTMLCollection getElementsByTagNameNS(dynamic parnamespace, dynamic parname)

 

func getElementsByTagNameNS(_ parnamespace: dynamic, _ parname: dynamic) -> HTMLCollection

 

HTMLCollection getElementsByTagNameNS(dynamic parnamespace, dynamic parname)

 

Function getElementsByTagNameNS(parnamespace As dynamic, parname As dynamic) As HTMLCollection

Parameters:

  • parnamespace:
  • parname:

hasFocus

Returns true if the focus is currently located anywhere inside the specified document.

 

method hasFocus: Boolean

 

Boolean hasFocus()

 

func hasFocus() -> Boolean

 

Boolean hasFocus()

 

Function hasFocus() As Boolean

 

property head: HTMLElement read;

 

HTMLElement head { get; }

 

var head: HTMLElement { get{} }

 

HTMLElement head { __get; }

 

ReadOnly Property head() As HTMLElement

hidden

 

property hidden: Boolean read;

 

Boolean hidden { get; }

 

var hidden: Boolean { get{} }

 

Boolean hidden { __get; }

 

ReadOnly Property hidden() As Boolean

images

 

property images: dynamic read;

 

dynamic images { get; }

 

var images: dynamic { get{} }

 

dynamic images { __get; }

 

ReadOnly Property images() As dynamic

implementation

 

property implementation: String read;

 

String implementation { get; }

 

var implementation: String { get{} }

 

String implementation { __get; }

 

ReadOnly Property implementation() As String

importNode

Returns a clone of a node from an external document.

 

method importNode(parexternalNode: dynamic; pardeep: dynamic): Node

 

Node importNode(dynamic parexternalNode, dynamic pardeep)

 

func importNode(_ parexternalNode: dynamic, _ pardeep: dynamic) -> Node

 

Node importNode(dynamic parexternalNode, dynamic pardeep)

 

Function importNode(parexternalNode As dynamic, pardeep As dynamic) As Node

Parameters:

  • parexternalNode:
  • pardeep:

lastModified

 

property lastModified: DateTime read;

 

DateTime lastModified { get; }

 

var lastModified: DateTime { get{} }

 

DateTime lastModified { __get; }

 

ReadOnly Property lastModified() As DateTime

lastStyleSheetSet

 

property lastStyleSheetSet: String read;

 

String lastStyleSheetSet { get; }

 

var lastStyleSheetSet: String { get{} }

 

String lastStyleSheetSet { __get; }

 

ReadOnly Property lastStyleSheetSet() As String

 

property links: dynamic read;

 

dynamic links { get; }

 

var links: dynamic { get{} }

 

dynamic links { __get; }

 

ReadOnly Property links() As dynamic

location

 

property location: dynamic read;

 

dynamic location { get; }

 

var location: dynamic { get{} }

 

dynamic location { __get; }

 

ReadOnly Property location() As dynamic

onfullscreenchange

 

property onfullscreenchange: EventListener read write;

 

EventListener onfullscreenchange { get; set; }

 

var onfullscreenchange: EventListener { get{} set{} }

 

EventListener onfullscreenchange { __get; __set; }

 

Property onfullscreenchange() As EventListener

onfullscreenerror

 

property onfullscreenerror: EventListener read write;

 

EventListener onfullscreenerror { get; set; }

 

var onfullscreenerror: EventListener { get{} set{} }

 

EventListener onfullscreenerror { __get; __set; }

 

Property onfullscreenerror() As EventListener

onreadystatechange

 

property onreadystatechange: EventListener read write;

 

EventListener onreadystatechange { get; set; }

 

var onreadystatechange: EventListener { get{} set{} }

 

EventListener onreadystatechange { __get; __set; }

 

Property onreadystatechange() As EventListener

onvisibilitychange

 

property onvisibilitychange: EventListener read write;

 

EventListener onvisibilitychange { get; set; }

 

var onvisibilitychange: EventListener { get{} set{} }

 

EventListener onvisibilitychange { __get; __set; }

 

Property onvisibilitychange() As EventListener

open

Opens a document stream for writing.

 

method open: dynamic

 

dynamic open()

 

func open() -> dynamic

 

dynamic open()

 

Function open() As dynamic

plugins

 

property plugins: dynamic read;

 

dynamic plugins { get; }

 

var plugins: dynamic { get{} }

 

dynamic plugins { __get; }

 

ReadOnly Property plugins() As dynamic

preferredStyleSheetSet

 

property preferredStyleSheetSet: String read;

 

String preferredStyleSheetSet { get; }

 

var preferredStyleSheetSet: String { get{} }

 

String preferredStyleSheetSet { __get; }

 

ReadOnly Property preferredStyleSheetSet() As String

queryCommandEnabled

Returns true if the formating command can be executed on the current range.

 

method queryCommandEnabled: Boolean

 

Boolean queryCommandEnabled()

 

func queryCommandEnabled() -> Boolean

 

Boolean queryCommandEnabled()

 

Function queryCommandEnabled() As Boolean

queryCommandIndeterm

Returns true if the formating command is in an indeterminate state on the current range.

 

method queryCommandIndeterm: Boolean

 

Boolean queryCommandIndeterm()

 

func queryCommandIndeterm() -> Boolean

 

Boolean queryCommandIndeterm()

 

Function queryCommandIndeterm() As Boolean

queryCommandState

Returns true if the formating command has been executed on the current range.

 

method queryCommandState(parcommand: dynamic): Boolean

 

Boolean queryCommandState(dynamic parcommand)

 

func queryCommandState(_ parcommand: dynamic) -> Boolean

 

Boolean queryCommandState(dynamic parcommand)

 

Function queryCommandState(parcommand As dynamic) As Boolean

Parameters:

  • parcommand:

queryCommandSupported

Returns true if the formating command is supported on the current range.

 

method queryCommandSupported: Boolean

 

Boolean queryCommandSupported()

 

func queryCommandSupported() -> Boolean

 

Boolean queryCommandSupported()

 

Function queryCommandSupported() As Boolean

queryCommandValue

Returns the current value of the current range for a formating command.

 

method queryCommandValue: dynamic

 

dynamic queryCommandValue()

 

func queryCommandValue() -> dynamic

 

dynamic queryCommandValue()

 

Function queryCommandValue() As dynamic

querySelector

Returns the first Element node within the document, in document order, that matches the specified selectors.

 

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

Returns a list of all the Element nodes within the document that match the specified selectors.

 

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:

readyState

 

property readyState: dynamic read;

 

dynamic readyState { get; }

 

var readyState: dynamic { get{} }

 

dynamic readyState { __get; }

 

ReadOnly Property readyState() As dynamic

referrer

 

property referrer: String read;

 

String referrer { get; }

 

var referrer: String { get{} }

 

String referrer { __get; }

 

ReadOnly Property referrer() As String

scripts

 

property scripts: HTMLElement read;

 

HTMLElement scripts { get; }

 

var scripts: HTMLElement { get{} }

 

HTMLElement scripts { __get; }

 

ReadOnly Property scripts() As HTMLElement

scrollingElement

 

property scrollingElement: Element read;

 

Element scrollingElement { get; }

 

var scrollingElement: Element { get{} }

 

Element scrollingElement { __get; }

 

ReadOnly Property scrollingElement() As Element

selectedStyleSheetSet

 

property selectedStyleSheetSet: String read write;

 

String selectedStyleSheetSet { get; set; }

 

var selectedStyleSheetSet: String { get{} set{} }

 

String selectedStyleSheetSet { __get; __set; }

 

Property selectedStyleSheetSet() As String

styleSheetSets

 

property styleSheetSets: array of String read;

 

String[] styleSheetSets { get; }

 

var styleSheetSets: String... { get{} }

 

String[] styleSheetSets { __get; }

 

ReadOnly Property styleSheetSets() As String()

title

 

property title: String read write;

 

String title { get; set; }

 

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

 

String title { __get; __set; }

 

Property title() As String

URL

 

property URL: String read;

 

String URL { get; }

 

var URL: String { get{} }

 

String URL { __get; }

 

ReadOnly Property URL() As String

visibilityState

 

property visibilityState: String read;

 

String visibilityState { get; }

 

var visibilityState: String { get{} }

 

String visibilityState { __get; }

 

ReadOnly Property visibilityState() As String

write

Writes text in a document.

 

method write(parmarkup: dynamic): dynamic

 

dynamic write(dynamic parmarkup)

 

func write(_ parmarkup: dynamic) -> dynamic

 

dynamic write(dynamic parmarkup)

 

Function write(parmarkup As dynamic) As dynamic

Parameters:

  • parmarkup:

writeln

Writes a line of text in a document.

 

method writeln(parline: dynamic): dynamic

 

dynamic writeln(dynamic parline)

 

func writeln(_ parline: dynamic) -> dynamic

 

dynamic writeln(dynamic parline)

 

Function writeln(parline As dynamic) As dynamic

Parameters:

  • parline:

 

anchors

 

property anchors: dynamic read;

 

dynamic anchors { get; }

 

var anchors: dynamic { get{} }

 

dynamic anchors { __get; }

 

ReadOnly Property anchors() As dynamic

body

 

property body: HTMLElement read write;

 

HTMLElement body { get; set; }

 

var body: HTMLElement { get{} set{} }

 

HTMLElement body { __get; __set; }

 

Property body() As HTMLElement

characterSet

 

property characterSet: String read;

 

String characterSet { get; }

 

var characterSet: String { get{} }

 

String characterSet { __get; }

 

ReadOnly Property characterSet() As String

 

property cookie: dynamic read write;

 

dynamic cookie { get; set; }

 

var cookie: dynamic { get{} set{} }

 

dynamic cookie { __get; __set; }

 

Property cookie() As dynamic

defaultView

 

property defaultView: Window read;

 

Window defaultView { get; }

 

var defaultView: Window { get{} }

 

Window defaultView { __get; }

 

ReadOnly Property defaultView() As Window

designMode

 

property designMode: dynamic read write;

 

dynamic designMode { get; set; }

 

var designMode: dynamic { get{} set{} }

 

dynamic designMode { __get; __set; }

 

Property designMode() As dynamic

dir

 

property dir: String read;

 

String dir { get; }

 

var dir: String { get{} }

 

String dir { __get; }

 

ReadOnly Property dir() As String

doctype

 

property doctype: dynamic read;

 

dynamic doctype { get; }

 

var doctype: dynamic { get{} }

 

dynamic doctype { __get; }

 

ReadOnly Property doctype() As dynamic

documentElement

 

property documentElement: Element read;

 

Element documentElement { get; }

 

var documentElement: Element { get{} }

 

Element documentElement { __get; }

 

ReadOnly Property documentElement() As Element

documentURI

 

property documentURI: String read;

 

String documentURI { get; }

 

var documentURI: String { get{} }

 

String documentURI { __get; }

 

ReadOnly Property documentURI() As String

domain

 

property domain: String read write;

 

String domain { get; set; }

 

var domain: String { get{} set{} }

 

String domain { __get; __set; }

 

Property domain() As String

embeds

 

property embeds: HTMLCollection read;

 

HTMLCollection embeds { get; }

 

var embeds: HTMLCollection { get{} }

 

HTMLCollection embeds { __get; }

 

ReadOnly Property embeds() As HTMLCollection

fonts

 

property fonts: dynamic read write;

 

dynamic fonts { get; set; }

 

var fonts: dynamic { get{} set{} }

 

dynamic fonts { __get; __set; }

 

Property fonts() As dynamic

forms

 

property forms: HTMLCollection read;

 

HTMLCollection forms { get; }

 

var forms: HTMLCollection { get{} }

 

HTMLCollection forms { __get; }

 

ReadOnly Property forms() As HTMLCollection

fullscreenElement

 

property fullscreenElement: Element read;

 

Element fullscreenElement { get; }

 

var fullscreenElement: Element { get{} }

 

Element fullscreenElement { __get; }

 

ReadOnly Property fullscreenElement() As Element

 

property head: HTMLElement read;

 

HTMLElement head { get; }

 

var head: HTMLElement { get{} }

 

HTMLElement head { __get; }

 

ReadOnly Property head() As HTMLElement

hidden

 

property hidden: Boolean read;

 

Boolean hidden { get; }

 

var hidden: Boolean { get{} }

 

Boolean hidden { __get; }

 

ReadOnly Property hidden() As Boolean

images

 

property images: dynamic read;

 

dynamic images { get; }

 

var images: dynamic { get{} }

 

dynamic images { __get; }

 

ReadOnly Property images() As dynamic

implementation

 

property implementation: String read;

 

String implementation { get; }

 

var implementation: String { get{} }

 

String implementation { __get; }

 

ReadOnly Property implementation() As String

lastModified

 

property lastModified: DateTime read;

 

DateTime lastModified { get; }

 

var lastModified: DateTime { get{} }

 

DateTime lastModified { __get; }

 

ReadOnly Property lastModified() As DateTime

lastStyleSheetSet

 

property lastStyleSheetSet: String read;

 

String lastStyleSheetSet { get; }

 

var lastStyleSheetSet: String { get{} }

 

String lastStyleSheetSet { __get; }

 

ReadOnly Property lastStyleSheetSet() As String

 

property links: dynamic read;

 

dynamic links { get; }

 

var links: dynamic { get{} }

 

dynamic links { __get; }

 

ReadOnly Property links() As dynamic

location

 

property location: dynamic read;

 

dynamic location { get; }

 

var location: dynamic { get{} }

 

dynamic location { __get; }

 

ReadOnly Property location() As dynamic

onfullscreenchange

 

property onfullscreenchange: EventListener read write;

 

EventListener onfullscreenchange { get; set; }

 

var onfullscreenchange: EventListener { get{} set{} }

 

EventListener onfullscreenchange { __get; __set; }

 

Property onfullscreenchange() As EventListener

onfullscreenerror

 

property onfullscreenerror: EventListener read write;

 

EventListener onfullscreenerror { get; set; }

 

var onfullscreenerror: EventListener { get{} set{} }

 

EventListener onfullscreenerror { __get; __set; }

 

Property onfullscreenerror() As EventListener

onreadystatechange

 

property onreadystatechange: EventListener read write;

 

EventListener onreadystatechange { get; set; }

 

var onreadystatechange: EventListener { get{} set{} }

 

EventListener onreadystatechange { __get; __set; }

 

Property onreadystatechange() As EventListener

onvisibilitychange

 

property onvisibilitychange: EventListener read write;

 

EventListener onvisibilitychange { get; set; }

 

var onvisibilitychange: EventListener { get{} set{} }

 

EventListener onvisibilitychange { __get; __set; }

 

Property onvisibilitychange() As EventListener

plugins

 

property plugins: dynamic read;

 

dynamic plugins { get; }

 

var plugins: dynamic { get{} }

 

dynamic plugins { __get; }

 

ReadOnly Property plugins() As dynamic

preferredStyleSheetSet

 

property preferredStyleSheetSet: String read;

 

String preferredStyleSheetSet { get; }

 

var preferredStyleSheetSet: String { get{} }

 

String preferredStyleSheetSet { __get; }

 

ReadOnly Property preferredStyleSheetSet() As String

readyState

 

property readyState: dynamic read;

 

dynamic readyState { get; }

 

var readyState: dynamic { get{} }

 

dynamic readyState { __get; }

 

ReadOnly Property readyState() As dynamic

referrer

 

property referrer: String read;

 

String referrer { get; }

 

var referrer: String { get{} }

 

String referrer { __get; }

 

ReadOnly Property referrer() As String

scripts

 

property scripts: HTMLElement read;

 

HTMLElement scripts { get; }

 

var scripts: HTMLElement { get{} }

 

HTMLElement scripts { __get; }

 

ReadOnly Property scripts() As HTMLElement

scrollingElement

 

property scrollingElement: Element read;

 

Element scrollingElement { get; }

 

var scrollingElement: Element { get{} }

 

Element scrollingElement { __get; }

 

ReadOnly Property scrollingElement() As Element

selectedStyleSheetSet

 

property selectedStyleSheetSet: String read write;

 

String selectedStyleSheetSet { get; set; }

 

var selectedStyleSheetSet: String { get{} set{} }

 

String selectedStyleSheetSet { __get; __set; }

 

Property selectedStyleSheetSet() As String

styleSheetSets

 

property styleSheetSets: array of String read;

 

String[] styleSheetSets { get; }

 

var styleSheetSets: String... { get{} }

 

String[] styleSheetSets { __get; }

 

ReadOnly Property styleSheetSets() As String()

title

 

property title: String read write;

 

String title { get; set; }

 

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

 

String title { __get; __set; }

 

Property title() As String

URL

 

property URL: String read;

 

String URL { get; }

 

var URL: String { get{} }

 

String URL { __get; }

 

ReadOnly Property URL() As String

visibilityState

 

property visibilityState: String read;

 

String visibilityState { get; }

 

var visibilityState: String { get{} }

 

String visibilityState { __get; }

 

ReadOnly Property visibilityState() As String

 

adoptNode

Adopt node from an external document.

 

method adoptNode(parexternalNode: dynamic): Node

 

Node adoptNode(dynamic parexternalNode)

 

func adoptNode(_ parexternalNode: dynamic) -> Node

 

Node adoptNode(dynamic parexternalNode)

 

Function adoptNode(parexternalNode As dynamic) As Node

Parameters:

  • parexternalNode:

close

Closes a document stream for writing.

 

method close: dynamic

 

dynamic close()

 

func close() -> dynamic

 

dynamic close()

 

Function close() As dynamic

createAttribute

Creates a new Attr object and returns it.

 

method createAttribute(parname: dynamic): dynamic

 

dynamic createAttribute(dynamic parname)

 

func createAttribute(_ parname: dynamic) -> dynamic

 

dynamic createAttribute(dynamic parname)

 

Function createAttribute(parname As dynamic) As dynamic

Parameters:

  • parname:

createAttributeNS

Creates a new attribute node in a given namespace and returns it.

 

method createAttributeNS: dynamic

 

dynamic createAttributeNS()

 

func createAttributeNS() -> dynamic

 

dynamic createAttributeNS()

 

Function createAttributeNS() As dynamic

createCDATASection

Creates a new CDATA node and returns it.

 

method createCDATASection(pardata: dynamic): CDATASection

 

CDATASection createCDATASection(dynamic pardata)

 

func createCDATASection(_ pardata: dynamic) -> CDATASection

 

CDATASection createCDATASection(dynamic pardata)

 

Function createCDATASection(pardata As dynamic) As CDATASection

Parameters:

  • pardata:

createComment

Creates a new comment node and returns it.

 

method createComment(pardata: dynamic): Comment

 

Comment createComment(dynamic pardata)

 

func createComment(_ pardata: dynamic) -> Comment

 

Comment createComment(dynamic pardata)

 

Function createComment(pardata As dynamic) As Comment

Parameters:

  • pardata:

createDocumentFragment

Creates a new document fragment.

 

method createDocumentFragment: Document

 

Document createDocumentFragment()

 

func createDocumentFragment() -> Document

 

Document createDocumentFragment()

 

Function createDocumentFragment() As Document

createElement (dynamic, dynamic): Element

Creates a new element with the given tag name.

 

method createElement(partagName: dynamic; paroptions: dynamic): Element

 

Element createElement(dynamic partagName, dynamic paroptions)

 

func createElement(_ partagName: dynamic, _ paroptions: dynamic) -> Element

 

Element createElement(dynamic partagName, dynamic paroptions)

 

Function createElement(partagName As dynamic, paroptions As dynamic) As Element

Parameters:

  • partagName:
  • paroptions:

createElement (dynamic): Element

Creates a new element with the given tag name.

 

method createElement(tagName: dynamic): Element

 

Element createElement(dynamic tagName)

 

func createElement(_ tagName: dynamic) -> Element

 

Element createElement(dynamic tagName)

 

Function createElement(tagName As dynamic) As Element

Parameters:

  • tagName:

createElementNS

Creates a new element with the given tag name and namespace URI.

 

method createElementNS(parnamespaceURI: dynamic; parqualifiedName: dynamic; paroptions: dynamic): Element

 

Element createElementNS(dynamic parnamespaceURI, dynamic parqualifiedName, dynamic paroptions)

 

func createElementNS(_ parnamespaceURI: dynamic, _ parqualifiedName: dynamic, _ paroptions: dynamic) -> Element

 

Element createElementNS(dynamic parnamespaceURI, dynamic parqualifiedName, dynamic paroptions)

 

Function createElementNS(parnamespaceURI As dynamic, parqualifiedName As dynamic, paroptions As dynamic) As Element

Parameters:

  • parnamespaceURI:
  • parqualifiedName:
  • paroptions:

createEvent

Creates an event object.

 

method createEvent(partype: dynamic): Event

 

Event createEvent(dynamic partype)

 

func createEvent(_ partype: dynamic) -> Event

 

Event createEvent(dynamic partype)

 

Function createEvent(partype As dynamic) As Event

Parameters:

  • partype:

createExpression

Compiles an XPathExpression which can then be used for (repeated) evaluations.

 

method createExpression: dynamic

 

dynamic createExpression()

 

func createExpression() -> dynamic

 

dynamic createExpression()

 

Function createExpression() As dynamic

createNodeIterator

Creates a NodeIterator object.

 

method createNodeIterator(parroot: dynamic; parwhatToShow: dynamic; parfilter: dynamic): Node

 

Node createNodeIterator(dynamic parroot, dynamic parwhatToShow, dynamic parfilter)

 

func createNodeIterator(_ parroot: dynamic, _ parwhatToShow: dynamic, _ parfilter: dynamic) -> Node

 

Node createNodeIterator(dynamic parroot, dynamic parwhatToShow, dynamic parfilter)

 

Function createNodeIterator(parroot As dynamic, parwhatToShow As dynamic, parfilter As dynamic) As Node

Parameters:

  • parroot:
  • parwhatToShow:
  • parfilter:

createNSResolver

Creates an XPathNSResolver object.

 

method createNSResolver: XPathNSResolver

 

XPathNSResolver createNSResolver()

 

func createNSResolver() -> XPathNSResolver

 

XPathNSResolver createNSResolver()

 

Function createNSResolver() As XPathNSResolver

createProcessingInstruction

Creates a new ProcessingInstruction object.

 

method createProcessingInstruction: ProcessingInstruction

 

ProcessingInstruction createProcessingInstruction()

 

func createProcessingInstruction() -> ProcessingInstruction

 

ProcessingInstruction createProcessingInstruction()

 

Function createProcessingInstruction() As ProcessingInstruction

createRange

Creates a Range object.

 

method createRange: Range

 

Range createRange()

 

func createRange() -> Range

 

Range createRange()

 

Function createRange() As Range

createTextNode

Creates a text node.

 

method createTextNode(pardata: dynamic): Node

 

Node createTextNode(dynamic pardata)

 

func createTextNode(_ pardata: dynamic) -> Node

 

Node createTextNode(dynamic pardata)

 

Function createTextNode(pardata As dynamic) As Node

Parameters:

  • pardata:

createTouchList

Creates a TouchList object.

 

method createTouchList(partouches: dynamic): TouchList

 

TouchList createTouchList(dynamic partouches)

 

func createTouchList(_ partouches: dynamic) -> TouchList

 

TouchList createTouchList(dynamic partouches)

 

Function createTouchList(partouches As dynamic) As TouchList

Parameters:

  • partouches:

createTreeWalker

Creates a TreeWalker object.

 

method createTreeWalker(parroot: dynamic; parwhatToShow: dynamic; parfilter: dynamic; parentityReferenceExpansion: dynamic): TreeWalker

 

TreeWalker createTreeWalker(dynamic parroot, dynamic parwhatToShow, dynamic parfilter, dynamic parentityReferenceExpansion)

 

func createTreeWalker(_ parroot: dynamic, _ parwhatToShow: dynamic, _ parfilter: dynamic, _ parentityReferenceExpansion: dynamic) -> TreeWalker

 

TreeWalker createTreeWalker(dynamic parroot, dynamic parwhatToShow, dynamic parfilter, dynamic parentityReferenceExpansion)

 

Function createTreeWalker(parroot As dynamic, parwhatToShow As dynamic, parfilter As dynamic, parentityReferenceExpansion As dynamic) As TreeWalker

Parameters:

  • parroot:
  • parwhatToShow:
  • parfilter:
  • parentityReferenceExpansion:

elementFromPoint

Returns the topmost element at the specified coordinates.

 

method elementFromPoint(parx: dynamic; pary: dynamic): dynamic

 

dynamic elementFromPoint(dynamic parx, dynamic pary)

 

func elementFromPoint(_ parx: dynamic, _ pary: dynamic) -> dynamic

 

dynamic elementFromPoint(dynamic parx, dynamic pary)

 

Function elementFromPoint(parx As dynamic, pary As dynamic) As dynamic

Parameters:

  • parx:
  • pary:

enableStyleSheetsForSet

Enables the style sheets for the specified style sheet set.

 

method enableStyleSheetsForSet(parname: dynamic): dynamic

 

dynamic enableStyleSheetsForSet(dynamic parname)

 

func enableStyleSheetsForSet(_ parname: dynamic) -> dynamic

 

dynamic enableStyleSheetsForSet(dynamic parname)

 

Function enableStyleSheetsForSet(parname As dynamic) As dynamic

Parameters:

  • parname:

evaluate

Evaluates an XPath expression.

 

method evaluate(parxpathExpression: dynamic; parcontextNode: dynamic; parnamespaceResolver: dynamic; parresultType: dynamic; parresult: dynamic): dynamic

 

dynamic evaluate(dynamic parxpathExpression, dynamic parcontextNode, dynamic parnamespaceResolver, dynamic parresultType, dynamic parresult)

 

func evaluate(_ parxpathExpression: dynamic, _ parcontextNode: dynamic, _ parnamespaceResolver: dynamic, _ parresultType: dynamic, _ parresult: dynamic) -> dynamic

 

dynamic evaluate(dynamic parxpathExpression, dynamic parcontextNode, dynamic parnamespaceResolver, dynamic parresultType, dynamic parresult)

 

Function evaluate(parxpathExpression As dynamic, parcontextNode As dynamic, parnamespaceResolver As dynamic, parresultType As dynamic, parresult As dynamic) As dynamic

Parameters:

  • parxpathExpression:
  • parcontextNode:
  • parnamespaceResolver:
  • parresultType:
  • parresult:

execCommand

On an editable document, executes a formating command.

 

method execCommand(paraCommandName: dynamic; paraShowDefaultUI: dynamic; paraValueArgument: dynamic): dynamic

 

dynamic execCommand(dynamic paraCommandName, dynamic paraShowDefaultUI, dynamic paraValueArgument)

 

func execCommand(_ paraCommandName: dynamic, _ paraShowDefaultUI: dynamic, _ paraValueArgument: dynamic) -> dynamic

 

dynamic execCommand(dynamic paraCommandName, dynamic paraShowDefaultUI, dynamic paraValueArgument)

 

Function execCommand(paraCommandName As dynamic, paraShowDefaultUI As dynamic, paraValueArgument As dynamic) As dynamic

Parameters:

  • paraCommandName:
  • paraShowDefaultUI:
  • paraValueArgument:

getElementById

Returns an object reference to the identified element.

 

method getElementById(parid: dynamic): dynamic

 

dynamic getElementById(dynamic parid)

 

func getElementById(_ parid: dynamic) -> dynamic

 

dynamic getElementById(dynamic parid)

 

Function getElementById(parid As dynamic) As dynamic

Parameters:

  • parid:

getElementsByClassName

Returns a list of elements with the given class name.

 

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:

getElementsByName

Returns a list of elements with the given name.

 

method getElementsByName(parname: dynamic): HTMLCollection

 

HTMLCollection getElementsByName(dynamic parname)

 

func getElementsByName(_ parname: dynamic) -> HTMLCollection

 

HTMLCollection getElementsByName(dynamic parname)

 

Function getElementsByName(parname As dynamic) As HTMLCollection

Parameters:

  • parname:

getElementsByTagName

Returns a list of elements with the given tag name.

 

method getElementsByTagName(parname: dynamic): HTMLCollection

 

HTMLCollection getElementsByTagName(dynamic parname)

 

func getElementsByTagName(_ parname: dynamic) -> HTMLCollection

 

HTMLCollection getElementsByTagName(dynamic parname)

 

Function getElementsByTagName(parname As dynamic) As HTMLCollection

Parameters:

  • parname:

getElementsByTagNameNS

Returns a list of elements with the given tag name and namespace.

 

method getElementsByTagNameNS(parnamespace: dynamic; parname: dynamic): HTMLCollection

 

HTMLCollection getElementsByTagNameNS(dynamic parnamespace, dynamic parname)

 

func getElementsByTagNameNS(_ parnamespace: dynamic, _ parname: dynamic) -> HTMLCollection

 

HTMLCollection getElementsByTagNameNS(dynamic parnamespace, dynamic parname)

 

Function getElementsByTagNameNS(parnamespace As dynamic, parname As dynamic) As HTMLCollection

Parameters:

  • parnamespace:
  • parname:

hasFocus

Returns true if the focus is currently located anywhere inside the specified document.

 

method hasFocus: Boolean

 

Boolean hasFocus()

 

func hasFocus() -> Boolean

 

Boolean hasFocus()

 

Function hasFocus() As Boolean

importNode

Returns a clone of a node from an external document.

 

method importNode(parexternalNode: dynamic; pardeep: dynamic): Node

 

Node importNode(dynamic parexternalNode, dynamic pardeep)

 

func importNode(_ parexternalNode: dynamic, _ pardeep: dynamic) -> Node

 

Node importNode(dynamic parexternalNode, dynamic pardeep)

 

Function importNode(parexternalNode As dynamic, pardeep As dynamic) As Node

Parameters:

  • parexternalNode:
  • pardeep:

open

Opens a document stream for writing.

 

method open: dynamic

 

dynamic open()

 

func open() -> dynamic

 

dynamic open()

 

Function open() As dynamic

queryCommandEnabled

Returns true if the formating command can be executed on the current range.

 

method queryCommandEnabled: Boolean

 

Boolean queryCommandEnabled()

 

func queryCommandEnabled() -> Boolean

 

Boolean queryCommandEnabled()

 

Function queryCommandEnabled() As Boolean

queryCommandIndeterm

Returns true if the formating command is in an indeterminate state on the current range.

 

method queryCommandIndeterm: Boolean

 

Boolean queryCommandIndeterm()

 

func queryCommandIndeterm() -> Boolean

 

Boolean queryCommandIndeterm()

 

Function queryCommandIndeterm() As Boolean

queryCommandState

Returns true if the formating command has been executed on the current range.

 

method queryCommandState(parcommand: dynamic): Boolean

 

Boolean queryCommandState(dynamic parcommand)

 

func queryCommandState(_ parcommand: dynamic) -> Boolean

 

Boolean queryCommandState(dynamic parcommand)

 

Function queryCommandState(parcommand As dynamic) As Boolean

Parameters:

  • parcommand:

queryCommandSupported

Returns true if the formating command is supported on the current range.

 

method queryCommandSupported: Boolean

 

Boolean queryCommandSupported()

 

func queryCommandSupported() -> Boolean

 

Boolean queryCommandSupported()

 

Function queryCommandSupported() As Boolean

queryCommandValue

Returns the current value of the current range for a formating command.

 

method queryCommandValue: dynamic

 

dynamic queryCommandValue()

 

func queryCommandValue() -> dynamic

 

dynamic queryCommandValue()

 

Function queryCommandValue() As dynamic

querySelector

Returns the first Element node within the document, in document order, that matches the specified selectors.

 

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

Returns a list of all the Element nodes within the document that match the specified selectors.

 

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:

write

Writes text in a document.

 

method write(parmarkup: dynamic): dynamic

 

dynamic write(dynamic parmarkup)

 

func write(_ parmarkup: dynamic) -> dynamic

 

dynamic write(dynamic parmarkup)

 

Function write(parmarkup As dynamic) As dynamic

Parameters:

  • parmarkup:

writeln

Writes a line of text in a document.

 

method writeln(parline: dynamic): dynamic

 

dynamic writeln(dynamic parline)

 

func writeln(_ parline: dynamic) -> dynamic

 

dynamic writeln(dynamic parline)

 

Function writeln(parline As dynamic) As dynamic

Parameters:

  • parline: