W3cubDocs

/Haxe JavaScript

HTMLDocument

package js.html

extends DocumentNodeEventTarget

Available on js

HTMLDocument is an abstract interface which extends the Document interface to add HTML-specific features to the document object. It represents the root of the HTML document, within which its entire DOM hierarchy resides.

Documentation HTMLDocument by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Variables

alinkColor:String

read onlyall:HTMLAllCollection

bgColor:String

designMode:String

domain:String

fgColor:String

linkColor:String

vlinkColor:String

Methods

captureEvents():Void

clear():Void

close():Void

Throws:

null

DOMError

inlinecreateAnchorElement():AnchorElement

Shorthand for creating an HTML <a> element.

inlinecreateAreaElement():AreaElement

Shorthand for creating an HTML <area> element.

inlinecreateAudioElement():AudioElement

Shorthand for creating an HTML <audio> element.

inlinecreateBRElement():BRElement

Shorthand for creating an HTML <br> element.

inlinecreateBaseElement():BaseElement

Shorthand for creating an HTML <base> element.

inlinecreateBodyElement():BodyElement

Shorthand for creating an HTML <body> element.

inlinecreateButtonElement():ButtonElement

Shorthand for creating an HTML <button> element.

inlinecreateCanvasElement():CanvasElement

Shorthand for creating an HTML <canvas> element.

inlinecreateDListElement():DListElement

Shorthand for creating an HTML <dl> element.

inlinecreateDataListElement():DataListElement

Shorthand for creating an HTML <datalist> element.

inlinecreateDetailsElement():DetailsElement

Shorthand for creating an HTML <details> element.

inlinecreateDirectoryElement():DirectoryElement

Shorthand for creating an HTML <dir> element.

inlinecreateDivElement():DivElement

Shorthand for creating an HTML <div> element.

inlinecreateEmbedElement():EmbedElement

Shorthand for creating an HTML <embed> element.

inlinecreateFieldSetElement():FieldSetElement

Shorthand for creating an HTML <fieldset> element.

inlinecreateFontElement():FontElement

Shorthand for creating an HTML <font> element.

inlinecreateFormElement():FormElement

Shorthand for creating an HTML <form> element.

inlinecreateFrameElement():FrameElement

Shorthand for creating an HTML <frame> element.

inlinecreateFrameSetElement():FrameSetElement

Shorthand for creating an HTML <frameset> element.

inlinecreateHRElement():HRElement

Shorthand for creating an HTML <hr> element.

inlinecreateHeadElement():HeadElement

Shorthand for creating an HTML <head> element.

inlinecreateHtmlElement():HtmlElement

Shorthand for creating an HTML <html> element.

inlinecreateIFrameElement():IFrameElement

Shorthand for creating an HTML <iframe> element.

inlinecreateImageElement():ImageElement

Shorthand for creating an HTML <img> element.

inlinecreateInputElement():InputElement

Shorthand for creating an HTML <input> element.

inlinecreateLIElement():LIElement

Shorthand for creating an HTML <li> element.

inlinecreateLabelElement():LabelElement

Shorthand for creating an HTML <label> element.

inlinecreateLegendElement():LegendElement

Shorthand for creating an HTML <legend> element.

inlinecreateLinkElement():LinkElement

Shorthand for creating an HTML <link> element.

inlinecreateMapElement():MapElement

Shorthand for creating an HTML <map> element.

inlinecreateMediaElement():MediaElement

Shorthand for creating an HTML <media> element.

inlinecreateMenuElement():MenuElement

Shorthand for creating an HTML <menu> element.

inlinecreateMetaElement():MetaElement

Shorthand for creating an HTML <meta> element.

inlinecreateMeterElement():MeterElement

Shorthand for creating an HTML <meter> element.

inlinecreateModElement():ModElement

Shorthand for creating an HTML <mod> element.

inlinecreateOListElement():OListElement

Shorthand for creating an HTML <ol> element.

inlinecreateObjectElement():ObjectElement

Shorthand for creating an HTML <object> element.

inlinecreateOptGroupElement():OptGroupElement

Shorthand for creating an HTML <optgroup> element.

inlinecreateOptionElement():OptionElement

Shorthand for creating an HTML <option> element.

inlinecreateOutputElement():OutputElement

Shorthand for creating an HTML <output> element.

inlinecreateParagraphElement():ParagraphElement

Shorthand for creating an HTML <p> element.

inlinecreateParamElement():ParamElement

Shorthand for creating an HTML <param> element.

inlinecreatePictureElement():PictureElement

Shorthand for creating an HTML <picture> element.

inlinecreatePreElement():PreElement

Shorthand for creating an HTML <pre> element.

inlinecreateProgressElement():ProgressElement

Shorthand for creating an HTML <progress> element.

inlinecreateQuoteElement():QuoteElement

Shorthand for creating an HTML <quote> element.

inlinecreateScriptElement():ScriptElement

Shorthand for creating an HTML <script> element.

inlinecreateSelectElement():SelectElement

Shorthand for creating an HTML <select> element.

inlinecreateSlotElement():SlotElement

Shorthand for creating an HTML <slot> element.

inlinecreateSourceElement():SourceElement

Shorthand for creating an HTML <source> element.

inlinecreateSpanElement():SpanElement

Shorthand for creating an HTML <span> element.

inlinecreateStyleElement():StyleElement

Shorthand for creating an HTML <style> element.

inlinecreateTableCaptionElement():TableCaptionElement

Shorthand for creating an HTML <caption> element.

inlinecreateTableCellElement():TableCellElement

Shorthand for creating an HTML <td> element.

inlinecreateTableColElement():TableColElement

Shorthand for creating an HTML <col> element.

inlinecreateTableElement():TableElement

Shorthand for creating an HTML <table> element.

inlinecreateTableRowElement():TableRowElement

Shorthand for creating an HTML <tr> element.

inlinecreateTableSectionElement():TableSectionElement

Shorthand for creating an HTML <thead> element.

inlinecreateTextAreaElement():TextAreaElement

Shorthand for creating an HTML <textarea> element.

inlinecreateTitleElement():TitleElement

Shorthand for creating an HTML <title> element.

inlinecreateTrackElement():TrackElement

Shorthand for creating an HTML <track> element.

inlinecreateUListElement():UListElement

Shorthand for creating an HTML <ul> element.

inlinecreateVideoElement():VideoElement

Shorthand for creating an HTML <video> element.

execCommand(commandId:String, showUI:Bool = false, value:String = ""):Bool

Throws:

null

DOMError

open(url:String, name:String, features:String, replace:Bool = false):Window

open(?type:String, replace:String = ""):HTMLDocument

Throws:

null

DOMError

queryCommandEnabled(commandId:String):Bool

Throws:

null

DOMError

queryCommandIndeterm(commandId:String):Bool

Throws:

null

DOMError

queryCommandState(commandId:String):Bool

Throws:

null

DOMError

queryCommandSupported(commandId:String):Bool

queryCommandValue(commandId:String):String

Throws:

null

DOMError

releaseEvents():Void

write(text:Rest<String>):Void

Throws:

null

DOMError

writeln(text:Rest<String>):Void

Throws:

null

DOMError

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/HTMLDocument.html