package js.html
extends Document › Node › EventTarget
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:
alinkColor:Stringread onlyall:HTMLAllCollectionbgColor:Stringcookie:StringdesignMode:Stringdomain:StringfgColor:StringlinkColor:StringvlinkColor:StringcaptureEvents():Voidclear():Voidclose():VoidThrows:
null |
DOMError |
|---|
inlinecreateAnchorElement():AnchorElementShorthand for creating an HTML <a> element.
inlinecreateAreaElement():AreaElementShorthand for creating an HTML <area> element.
inlinecreateAudioElement():AudioElementShorthand for creating an HTML <audio> element.
inlinecreateBRElement():BRElementShorthand for creating an HTML <br> element.
inlinecreateBaseElement():BaseElementShorthand for creating an HTML <base> element.
inlinecreateBodyElement():BodyElementShorthand for creating an HTML <body> element.
inlinecreateButtonElement():ButtonElementShorthand for creating an HTML <button> element.
inlinecreateCanvasElement():CanvasElementShorthand for creating an HTML <canvas> element.
inlinecreateDListElement():DListElementShorthand for creating an HTML <dl> element.
inlinecreateDataListElement():DataListElementShorthand for creating an HTML <datalist> element.
inlinecreateDetailsElement():DetailsElementShorthand for creating an HTML <details> element.
inlinecreateDirectoryElement():DirectoryElementShorthand for creating an HTML <dir> element.
inlinecreateDivElement():DivElementShorthand for creating an HTML <div> element.
inlinecreateEmbedElement():EmbedElementShorthand for creating an HTML <embed> element.
inlinecreateFieldSetElement():FieldSetElementShorthand for creating an HTML <fieldset> element.
inlinecreateFontElement():FontElementShorthand for creating an HTML <font> element.
inlinecreateFormElement():FormElementShorthand for creating an HTML <form> element.
inlinecreateFrameElement():FrameElementShorthand for creating an HTML <frame> element.
inlinecreateFrameSetElement():FrameSetElementShorthand for creating an HTML <frameset> element.
inlinecreateHRElement():HRElementShorthand for creating an HTML <hr> element.
inlinecreateHeadElement():HeadElementShorthand for creating an HTML <head> element.
inlinecreateHtmlElement():HtmlElementShorthand for creating an HTML <html> element.
inlinecreateIFrameElement():IFrameElementShorthand for creating an HTML <iframe> element.
inlinecreateImageElement():ImageElementShorthand for creating an HTML <img> element.
inlinecreateInputElement():InputElementShorthand for creating an HTML <input> element.
inlinecreateLIElement():LIElementShorthand for creating an HTML <li> element.
inlinecreateLabelElement():LabelElementShorthand for creating an HTML <label> element.
inlinecreateLegendElement():LegendElementShorthand for creating an HTML <legend> element.
inlinecreateLinkElement():LinkElementShorthand for creating an HTML <link> element.
inlinecreateMapElement():MapElementShorthand for creating an HTML <map> element.
inlinecreateMediaElement():MediaElementShorthand for creating an HTML <media> element.
inlinecreateMenuElement():MenuElementShorthand for creating an HTML <menu> element.
inlinecreateMetaElement():MetaElementShorthand for creating an HTML <meta> element.
inlinecreateMeterElement():MeterElementShorthand for creating an HTML <meter> element.
inlinecreateModElement():ModElementShorthand for creating an HTML <mod> element.
inlinecreateOListElement():OListElementShorthand for creating an HTML <ol> element.
inlinecreateObjectElement():ObjectElementShorthand for creating an HTML <object> element.
inlinecreateOptGroupElement():OptGroupElementShorthand for creating an HTML <optgroup> element.
inlinecreateOptionElement():OptionElementShorthand for creating an HTML <option> element.
inlinecreateOutputElement():OutputElementShorthand for creating an HTML <output> element.
inlinecreateParagraphElement():ParagraphElementShorthand for creating an HTML <p> element.
inlinecreateParamElement():ParamElementShorthand for creating an HTML <param> element.
inlinecreatePictureElement():PictureElementShorthand for creating an HTML <picture> element.
inlinecreatePreElement():PreElementShorthand for creating an HTML <pre> element.
inlinecreateProgressElement():ProgressElementShorthand for creating an HTML <progress> element.
inlinecreateQuoteElement():QuoteElementShorthand for creating an HTML <quote> element.
inlinecreateScriptElement():ScriptElementShorthand for creating an HTML <script> element.
inlinecreateSelectElement():SelectElementShorthand for creating an HTML <select> element.
inlinecreateSlotElement():SlotElementShorthand for creating an HTML <slot> element.
inlinecreateSourceElement():SourceElementShorthand for creating an HTML <source> element.
inlinecreateSpanElement():SpanElementShorthand for creating an HTML <span> element.
inlinecreateStyleElement():StyleElementShorthand for creating an HTML <style> element.
inlinecreateTableCaptionElement():TableCaptionElementShorthand for creating an HTML <caption> element.
inlinecreateTableCellElement():TableCellElementShorthand for creating an HTML <td> element.
inlinecreateTableColElement():TableColElementShorthand for creating an HTML <col> element.
inlinecreateTableElement():TableElementShorthand for creating an HTML <table> element.
inlinecreateTableRowElement():TableRowElementShorthand for creating an HTML <tr> element.
inlinecreateTableSectionElement():TableSectionElementShorthand for creating an HTML <thead> element.
inlinecreateTextAreaElement():TextAreaElementShorthand for creating an HTML <textarea> element.
inlinecreateTitleElement():TitleElementShorthand for creating an HTML <title> element.
inlinecreateTrackElement():TrackElementShorthand for creating an HTML <track> element.
inlinecreateUListElement():UListElementShorthand for creating an HTML <ul> element.
inlinecreateVideoElement():VideoElementShorthand for creating an HTML <video> element.
execCommand(commandId:String, showUI:Bool = false, value:String = ""):BoolThrows:
null |
DOMError |
|---|
open(url:String, name:String, features:String, replace:Bool = false):Windowopen(?type:String, replace:String = ""):HTMLDocumentThrows:
null |
DOMError |
|---|
queryCommandEnabled(commandId:String):BoolThrows:
null |
DOMError |
|---|
queryCommandIndeterm(commandId:String):BoolThrows:
null |
DOMError |
|---|
queryCommandState(commandId:String):BoolThrows:
null |
DOMError |
|---|
queryCommandSupported(commandId:String):BoolqueryCommandValue(commandId:String):StringThrows:
null |
DOMError |
|---|
releaseEvents():Voidwrite(text:Rest<String>):VoidThrows:
null |
DOMError |
|---|
writeln(text:Rest<String>):VoidThrows:
null |
DOMError |
|---|
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/HTMLDocument.html