BodyElement

package js.html

extends ElementDOMElementNodeEventTarget

Available on js

The HTMLBodyElement interface provides special properties (beyond those of the regular HTMLElement interface they also inherit) for manipulating body elements.

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

See also:

Variables

Is a DOMString that represents the color of active hyperlinks.

background:String

Is a DOMString that represents the description of the location of the background image resource. Note that this is not an URI, though some older version of some browsers do expect it.

bgColor:String

Is a DOMString that represents the background color for the document.

Is a DOMString that represents the color of unvisited links.

onafterprint:Function

onbeforeprint:Function

onhashchange:Function

onlanguagechange:Function

onmessage:Function

onmessageerror:Function

onoffline:Function

ononline:Function

onpagehide:Function

onpageshow:Function

onpopstate:Function

onstorage:Function

onunload:Function

text:String

Is a DOMString that represents the foreground color of text.

Is a DOMString that represents the color of visited links.

onbeforeunload:Event ‑> Null<String>

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