haXe API Documentation
Back | Index
typedef js.Document
import js.Dom
Available in js
function writeln(str : String) : Void
function write(str : String) : Void
var title : String
var styleSheets : HtmlCollection<StyleSheet>
var style : Style
function setAttribute(attr : String, val : String) : Void
var scrollWidth : Int
var scrollTop : Int
var scrollLeft : Int
var scrollHeight : Int
function replaceChild(child : HtmlDom, oldChild : HtmlDom) : Void
function removeChild(child : HtmlDom) : Void
var referrer : String
var previousSibling : HtmlDom
var parentNode : HtmlDom
function open() : Void
function onscroll(Event) : Void
function onresize(Event) : Void
function onmouseup(Event) : Void
function onmouseover(Event) : Void
function onmouseout(Event) : Void
function onmousemove(Event) : Void
function onmousedown(Event) : Void
function onkeyup(Event) : Void
function onkeypress(Event) : Void
function onkeydown(Event) : Void
function onfocus(Event) : Void
function ondblclick(Event) : Void
function onclick(Event) : Void
function onblur(Event) : Void
var offsetWidth : Int
var offsetTop : Int
var offsetParent : HtmlDom
var offsetLeft : Int
var offsetHeight : Int
var nodeValue : String
var nodeType : Int
var nodeName : String
var nextSibling : HtmlDom
var links : HtmlCollection<Link>
var lastChild : HtmlDom
var lang : String
function insertBefore(newChild : HtmlDom, refChild : HtmlDom) : Void
var innerHTML : String
var images : HtmlCollection<Image>
var id : String
function hasChildNodes() : Bool
function getElementsByTagName(tag : String) : HtmlCollection<HtmlDom>
function getElementsByTag(tag : String) : HtmlCollection<HtmlDom>
function getElementsByName(name : String) : HtmlCollection<HtmlDom>
function getElementById(id : String) : HtmlDom
function getAttribute(attr : String) : String
var forms : HtmlCollection<Form>
function focus() : Void
var firstChild : HtmlDom
var domain : String
var dir : String
function createElement(name : String) : HtmlDom
var cookie : String
function close() : Void
function cloneNode(deep : Bool) : HtmlDom
var clientWidth : Int
var clientHeight : Int
function click() : Void
var className : String
var childNodes : HtmlCollection<HtmlDom>
var body : Body
function blur() : Void
function appendChild(child : HtmlDom) : Void
var anchors : HtmlCollection<Anchor>
Back | Index