package js.html
extends Document › Node › EventTarget
Available on js
HTMLDocumentis an abstract interface of the DOM which provides access to special properties and methods not present by default on a regular (XML) document.Documentation HTMLDocument by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
alinkColor:Stringread only all:HTMLAllCollectionread only anchors:HTMLCollectionread only applets:HTMLCollectionbgColor:Stringbody:BodyElementcookie:StringdesignMode:Stringdomain:Stringread only embeds:HTMLCollectionfgColor:Stringread only forms:HTMLCollectionread only head:HeadElementread only images:HTMLCollectionlinkColor:Stringread only links:HTMLCollectionread only plugins:HTMLCollectionread only scripts:HTMLCollectionvlinkColor:StringcaptureEvents ():Voidclear ():Voidclose ():VoidThrows:
null |
DOMError |
|---|
inline createAnchorElement ():AnchorElementShorthand for creating an HTML <a> element.
inline createAppletElement ():AppletElementShorthand for creating an HTML <applet> element.
inline createAreaElement ():AreaElementShorthand for creating an HTML <area> element.
inline createAudioElement ():AudioElementShorthand for creating an HTML <audio> element.
inline createBRElement ():BRElementShorthand for creating an HTML <br> element.
inline createBaseElement ():BaseElementShorthand for creating an HTML <base> element.
inline createBodyElement ():BodyElementShorthand for creating an HTML <body> element.
inline createButtonElement ():ButtonElementShorthand for creating an HTML <button> element.
inline createCanvasElement ():CanvasElementShorthand for creating an HTML <canvas> element.
inline createContentElement ():ContentElementShorthand for creating an HTML <content> element.
inline createDListElement ():DListElementShorthand for creating an HTML <dl> element.
inline createDataListElement ():DataListElementShorthand for creating an HTML <datalist> element.
inline createDirectoryElement ():DirectoryElementShorthand for creating an HTML <dir> element.
inline createDivElement ():DivElementShorthand for creating an HTML <div> element.
inline createEmbedElement ():EmbedElementShorthand for creating an HTML <embed> element.
inline createFieldSetElement ():FieldSetElementShorthand for creating an HTML <fieldset> element.
inline createFontElement ():FontElementShorthand for creating an HTML <font> element.
inline createFormElement ():FormElementShorthand for creating an HTML <form> element.
inline createFrameElement ():FrameElementShorthand for creating an HTML <frame> element.
inline createFrameSetElement ():FrameSetElementShorthand for creating an HTML <frameset> element.
inline createHRElement ():HRElementShorthand for creating an HTML <hr> element.
inline createHeadElement ():HeadElementShorthand for creating an HTML <head> element.
inline createHtmlElement ():HtmlElementShorthand for creating an HTML <html> element.
inline createIFrameElement ():IFrameElementShorthand for creating an HTML <iframe> element.
inline createImageElement ():ImageElementShorthand for creating an HTML <img> element.
inline createInputElement ():InputElementShorthand for creating an HTML <input> element.
inline createLIElement ():LIElementShorthand for creating an HTML <li> element.
inline createLabelElement ():LabelElementShorthand for creating an HTML <label> element.
inline createLegendElement ():LegendElementShorthand for creating an HTML <legend> element.
inline createLinkElement ():LinkElementShorthand for creating an HTML <link> element.
inline createMapElement ():MapElementShorthand for creating an HTML <map> element.
inline createMediaElement ():MediaElementShorthand for creating an HTML <media> element.
inline createMenuElement ():MenuElementShorthand for creating an HTML <menu> element.
inline createMetaElement ():MetaElementShorthand for creating an HTML <meta> element.
inline createMeterElement ():MeterElementShorthand for creating an HTML <meter> element.
inline createModElement ():ModElementShorthand for creating an HTML <mod> element.
inline createOListElement ():OListElementShorthand for creating an HTML <ol> element.
inline createObjectElement ():ObjectElementShorthand for creating an HTML <object> element.
inline createOptGroupElement ():OptGroupElementShorthand for creating an HTML <optgroup> element.
inline createOptionElement ():OptionElementShorthand for creating an HTML <option> element.
inline createOutputElement ():OutputElementShorthand for creating an HTML <output> element.
inline createParagraphElement ():ParagraphElementShorthand for creating an HTML <p> element.
inline createParamElement ():ParamElementShorthand for creating an HTML <param> element.
inline createPictureElement ():PictureElementShorthand for creating an HTML <picture> element.
inline createPreElement ():PreElementShorthand for creating an HTML <pre> element.
inline createProgressElement ():ProgressElementShorthand for creating an HTML <progress> element.
inline createQuoteElement ():QuoteElementShorthand for creating an HTML <quote> element.
inline createScriptElement ():ScriptElementShorthand for creating an HTML <script> element.
inline createSelectElement ():SelectElementShorthand for creating an HTML <select> element.
inline createShadowElement ():ShadowElementShorthand for creating an HTML <shadow> element.
inline createSourceElement ():SourceElementShorthand for creating an HTML <source> element.
inline createSpanElement ():SpanElementShorthand for creating an HTML <span> element.
inline createStyleElement ():StyleElementShorthand for creating an HTML <style> element.
inline createTableCaptionElement ():TableCaptionElementShorthand for creating an HTML <caption> element.
inline createTableCellElement ():TableCellElementShorthand for creating an HTML <td> element.
inline createTableColElement ():TableColElementShorthand for creating an HTML <col> element.
inline createTableElement ():TableElementShorthand for creating an HTML <table> element.
inline createTableRowElement ():TableRowElementShorthand for creating an HTML <tr> element.
inline createTableSectionElement ():TableSectionElementShorthand for creating an HTML <thead> element.
inline createTextAreaElement ():TextAreaElementShorthand for creating an HTML <textarea> element.
inline createTitleElement ():TitleElementShorthand for creating an HTML <title> element.
inline createTrackElement ():TrackElementShorthand for creating an HTML <track> element.
inline createUListElement ():UListElementShorthand for creating an HTML <ul> element.
inline createVideoElement ():VideoElementShorthand for creating an HTML <video> element.
execCommand (commandId:String, showUI:Bool = false, value:String = ""):BoolThrows:
null |
DOMError |
|---|
getElementsByName (elementName:String):NodeList getItems (typeNames:String = ""):NodeListgetSelection ():SelectionThrows:
null |
DOMError |
|---|
open (url:String, name:String, features:String, replace:Bool = false):Window open (type:String = "text/html", 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–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/HTMLDocument.html