Liking cljdoc? Tell your friends :D

web.dom.HTMLBodyElement

The HTMLBodyElement interface provides special properties (beyond inherited from the regular web.dom.HTMLElement interface) for <body> elements.

The HTMLBodyElement interface provides special properties (beyond
inherited from the regular `web.dom.HTMLElement` interface) for
`<body>` elements.
raw docstring

(a-link this)

Property.

Is a DOMString that represents the color of active hyperlinks.

Property.

Is a DOMString that represents the color of active hyperlinks.
sourceraw docstring

backgroundcljs

(background this)

Property.

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

Property.

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

bg-colorcljs

(bg-color this)

Property.

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

Property.

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

(link this)

Property.

Is a DOMString that represents the color of unvisited links.

Property.

Is a DOMString that represents the color of unvisited links.
sourceraw docstring

onafterprintcljs

(onafterprint this)

Property.

The onafterprint property of the web.dom.WindowEventHandlers is the EventHandler for processing afterprint events for the window. These events are raised after the user prints, or if abort the print dialog.

window.addEventListener(\"afterprint\", function(event) { ... }); window.onafterprint = function(event) { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onafterprint

Property.

The onafterprint property of the `web.dom.WindowEventHandlers`
is the `EventHandler` for processing afterprint events for the
window. These events are raised after the user prints, or if
abort the print dialog.

`window.addEventListener(\"afterprint\", function(event) { ... });
window.onafterprint = function(event) { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onafterprint`
sourceraw docstring

onbeforeprintcljs

(onbeforeprint this)

Property.

The onbeforeprint property of the web.dom.WindowEventHandlers is the EventHandler for processing beforeprint events for the window. These events are raised before the print dialog window opened.

window.addEventListener(\"beforeprint\", function(event) { ... }); window.onbeforeprint = function(event) { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeprint

Property.

The onbeforeprint property of the `web.dom.WindowEventHandlers`
is the `EventHandler` for processing beforeprint events for the
window. These events are raised before the print dialog window
opened.

`window.addEventListener(\"beforeprint\", function(event) { ... });
window.onbeforeprint = function(event) { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeprint`
sourceraw docstring

onbeforeunloadcljs

(onbeforeunload this)

Property.

The onbeforeunload property of the web.dom.WindowEventHandlers is the EventHandler for processing beforeunload events. These fire when a window is about to unload its resources. At this the document is still visible and the event is still cancelable.

`window.addEventListener("beforeunload", function(event) { ... }); window.onbeforeunload = function(event) { ... };

Typically, it is better to use window.addEventListener() and the beforeunload event, instead of onbeforeunload.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload

Property.

The onbeforeunload property of the `web.dom.WindowEventHandlers`
is the `EventHandler` for processing beforeunload events. These
fire when a window is about to unload its resources. At this
the document is still visible and the event is still cancelable.

`window.addEventListener(\"beforeunload\", function(event) { ... });
window.onbeforeunload = function(event) { ... };

Typically, it is better to use `window.addEventListener()` and the beforeunload event, instead of onbeforeunload.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload`
sourceraw docstring

onhashchangecljs

(onhashchange this)

Property.

The WindowEventHandlers.onhashchange property of the web.dom.WindowEventHandlers is the EventHandler for processing hashchange events.

`Using an event handler:

window.onhashchange = funcRef;

Using an HTML event handler:

<body onhashchange=\"funcRef();\">

Using an event listener:

To add an event listener, use addEventListener():

window.addEventListener("hashchange", funcRef, false);`

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onhashchange

Property.

The WindowEventHandlers.onhashchange property of the `web.dom.WindowEventHandlers`
is the `EventHandler` for processing hashchange events.

`Using an event handler:



window.onhashchange = funcRef;

Using an HTML event handler:



<body onhashchange=\"funcRef();\">

Using an event listener:

To add an event listener, use `addEventListener()`:



window.addEventListener(\"hashchange\", funcRef, false);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onhashchange`
sourceraw docstring

onlanguagechangecljs

(onlanguagechange this)

Property.

[Experimental]

The onlanguagechange property of the web.dom.WindowEventHandlers is the EventHandler for processing languagechange events.

object.onlanguagechange = function;

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onlanguagechange

Property.

[Experimental]

The onlanguagechange property of the `web.dom.WindowEventHandlers`
is the `EventHandler` for processing languagechange events.

`object.onlanguagechange = function;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onlanguagechange`
sourceraw docstring

onmessagecljs

(onmessage this)

Property.

[Experimental]

The onmessage property of the web.dom.WindowEventHandlers mixin the EventHandler called whenever an object receives a message

window.addEventListener('message', function(event) { ... }) window.onmessage = function(event) { ... }

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onmessage

Property.

[Experimental]

The onmessage property of the `web.dom.WindowEventHandlers` mixin
the `EventHandler` called whenever an object receives a message

`window.addEventListener('message', function(event) { ... })
window.onmessage = function(event) { ... }`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onmessage`
sourceraw docstring

onmessageerrorcljs

(onmessageerror this)

Property.

The onmessageerror event handler of the web.dom.WindowEventHandlers is an web.other.EventListener, called whenever an web.workers.MessageEvent type messageerror is fired on a window—that is, when it receives message that cannot be deserialized.

window.onmessageerror = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onmessageerror

Property.

The onmessageerror event handler of the `web.dom.WindowEventHandlers`
is an `web.other.EventListener`, called whenever an `web.workers.MessageEvent`
type messageerror is fired on a window—that is, when it receives
message that cannot be deserialized.

`window.onmessageerror = function() { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onmessageerror`
sourceraw docstring

onpopstatecljs

(onpopstate this)

Property.

The onpopstate property of the web.dom.WindowEventHandlers is the EventHandler for processing popstate events on the window.

`window.onpopstate = funcRef;

funcRef is a handler function.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate

Property.

The onpopstate property of the `web.dom.WindowEventHandlers`
is the `EventHandler` for processing popstate events on the window.

`window.onpopstate = funcRef;


funcRef is a handler function.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate`
sourceraw docstring

onrejectionhandledcljs

(onrejectionhandled this)

Property.

The onrejectionhandled property of the web.dom.WindowEventHandlers is the EventHandler for processing rejectionhandled events. events are raised when js.Promises are rejected.

window.addEventListener(\"rejectionhandled\", function(event) { ... }); window.onrejectionhandled = function(event) { ...};

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onrejectionhandled

Property.

The onrejectionhandled property of the `web.dom.WindowEventHandlers`
is the `EventHandler` for processing rejectionhandled events.
events are raised when `js.Promise`s are rejected.

`window.addEventListener(\"rejectionhandled\", function(event) { ... });
window.onrejectionhandled = function(event) { ...};`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onrejectionhandled`
sourceraw docstring

onstoragecljs

(onstorage this)

Property.

The onstorage property of the web.dom.WindowEventHandlers mixin an EventHandler for processing storage events.

window.onstorage = functionRef;

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onstorage

Property.

The onstorage property of the `web.dom.WindowEventHandlers` mixin
an `EventHandler` for processing storage events.

`window.onstorage = functionRef;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onstorage`
sourceraw docstring

onunhandledrejectioncljs

(onunhandledrejection this)

Property.

The onunhandledrejection property of the web.dom.WindowEventHandlers is the EventHandler for processing unhandledrejection events. events are raised for unhandled js.Promise rejections.

window.onunhandledrejection = function;

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onunhandledrejection

Property.

The onunhandledrejection property of the `web.dom.WindowEventHandlers`
is the `EventHandler` for processing unhandledrejection events.
events are raised for unhandled `js.Promise` rejections.

`window.onunhandledrejection = function;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onunhandledrejection`
sourceraw docstring

onunloadcljs

(onunload this)

Property.

The onunload property of the web.dom.WindowEventHandlers mixin the EventHandler for processing unload events. These events when the window is unloading its content and resources. The resource is processed after the unload event occurs.

`window.addEventListener("unload", function(event) { ... }); window.onunload = function(event) { ... };

Typically, it is better to use window.addEventListener() and the unload event, instead of onunload.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onunload

Property.

The onunload property of the `web.dom.WindowEventHandlers` mixin
the `EventHandler` for processing unload events. These events
when the window is unloading its content and resources. The resource
is processed after the unload event occurs.

`window.addEventListener(\"unload\", function(event) { ... });
window.onunload = function(event) { ... };

Typically, it is better to use `window.addEventListener()` and the unload event, instead of onunload.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onunload`
sourceraw docstring

set-a-link!cljs

(set-a-link! this val)

Property.

Is a DOMString that represents the color of active hyperlinks.

Property.

Is a DOMString that represents the color of active hyperlinks.
sourceraw docstring

set-background!cljs

(set-background! this val)

Property.

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

Property.

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

set-bg-color!cljs

(set-bg-color! this val)

Property.

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

Property.

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

set-link!cljs

(set-link! this val)

Property.

Is a DOMString that represents the color of unvisited links.

Property.

Is a DOMString that represents the color of unvisited links.
sourceraw docstring

set-onafterprint!cljs

(set-onafterprint! this val)

Property.

The onafterprint property of the web.dom.WindowEventHandlers is the EventHandler for processing afterprint events for the window. These events are raised after the user prints, or if abort the print dialog.

window.addEventListener(\"afterprint\", function(event) { ... }); window.onafterprint = function(event) { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onafterprint

Property.

The onafterprint property of the `web.dom.WindowEventHandlers`
is the `EventHandler` for processing afterprint events for the
window. These events are raised after the user prints, or if
abort the print dialog.

`window.addEventListener(\"afterprint\", function(event) { ... });
window.onafterprint = function(event) { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onafterprint`
sourceraw docstring

set-onbeforeprint!cljs

(set-onbeforeprint! this val)

Property.

The onbeforeprint property of the web.dom.WindowEventHandlers is the EventHandler for processing beforeprint events for the window. These events are raised before the print dialog window opened.

window.addEventListener(\"beforeprint\", function(event) { ... }); window.onbeforeprint = function(event) { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeprint

Property.

The onbeforeprint property of the `web.dom.WindowEventHandlers`
is the `EventHandler` for processing beforeprint events for the
window. These events are raised before the print dialog window
opened.

`window.addEventListener(\"beforeprint\", function(event) { ... });
window.onbeforeprint = function(event) { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeprint`
sourceraw docstring

set-onbeforeunload!cljs

(set-onbeforeunload! this val)

Property.

The onbeforeunload property of the web.dom.WindowEventHandlers is the EventHandler for processing beforeunload events. These fire when a window is about to unload its resources. At this the document is still visible and the event is still cancelable.

`window.addEventListener("beforeunload", function(event) { ... }); window.onbeforeunload = function(event) { ... };

Typically, it is better to use window.addEventListener() and the beforeunload event, instead of onbeforeunload.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload

Property.

The onbeforeunload property of the `web.dom.WindowEventHandlers`
is the `EventHandler` for processing beforeunload events. These
fire when a window is about to unload its resources. At this
the document is still visible and the event is still cancelable.

`window.addEventListener(\"beforeunload\", function(event) { ... });
window.onbeforeunload = function(event) { ... };

Typically, it is better to use `window.addEventListener()` and the beforeunload event, instead of onbeforeunload.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload`
sourceraw docstring

set-onhashchange!cljs

(set-onhashchange! this val)

Property.

The WindowEventHandlers.onhashchange property of the web.dom.WindowEventHandlers is the EventHandler for processing hashchange events.

`Using an event handler:

window.onhashchange = funcRef;

Using an HTML event handler:

<body onhashchange=\"funcRef();\">

Using an event listener:

To add an event listener, use addEventListener():

window.addEventListener("hashchange", funcRef, false);`

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onhashchange

Property.

The WindowEventHandlers.onhashchange property of the `web.dom.WindowEventHandlers`
is the `EventHandler` for processing hashchange events.

`Using an event handler:



window.onhashchange = funcRef;

Using an HTML event handler:



<body onhashchange=\"funcRef();\">

Using an event listener:

To add an event listener, use `addEventListener()`:



window.addEventListener(\"hashchange\", funcRef, false);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onhashchange`
sourceraw docstring

set-onlanguagechange!cljs

(set-onlanguagechange! this val)

Property.

[Experimental]

The onlanguagechange property of the web.dom.WindowEventHandlers is the EventHandler for processing languagechange events.

object.onlanguagechange = function;

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onlanguagechange

Property.

[Experimental]

The onlanguagechange property of the `web.dom.WindowEventHandlers`
is the `EventHandler` for processing languagechange events.

`object.onlanguagechange = function;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onlanguagechange`
sourceraw docstring

set-onmessage!cljs

(set-onmessage! this val)

Property.

[Experimental]

The onmessage property of the web.dom.WindowEventHandlers mixin the EventHandler called whenever an object receives a message

window.addEventListener('message', function(event) { ... }) window.onmessage = function(event) { ... }

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onmessage

Property.

[Experimental]

The onmessage property of the `web.dom.WindowEventHandlers` mixin
the `EventHandler` called whenever an object receives a message

`window.addEventListener('message', function(event) { ... })
window.onmessage = function(event) { ... }`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onmessage`
sourceraw docstring

set-onmessageerror!cljs

(set-onmessageerror! this val)

Property.

The onmessageerror event handler of the web.dom.WindowEventHandlers is an web.other.EventListener, called whenever an web.workers.MessageEvent type messageerror is fired on a window—that is, when it receives message that cannot be deserialized.

window.onmessageerror = function() { ... };

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onmessageerror

Property.

The onmessageerror event handler of the `web.dom.WindowEventHandlers`
is an `web.other.EventListener`, called whenever an `web.workers.MessageEvent`
type messageerror is fired on a window—that is, when it receives
message that cannot be deserialized.

`window.onmessageerror = function() { ... };`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onmessageerror`
sourceraw docstring

set-onpopstate!cljs

(set-onpopstate! this val)

Property.

The onpopstate property of the web.dom.WindowEventHandlers is the EventHandler for processing popstate events on the window.

`window.onpopstate = funcRef;

funcRef is a handler function.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate

Property.

The onpopstate property of the `web.dom.WindowEventHandlers`
is the `EventHandler` for processing popstate events on the window.

`window.onpopstate = funcRef;


funcRef is a handler function.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate`
sourceraw docstring

set-onrejectionhandled!cljs

(set-onrejectionhandled! this val)

Property.

The onrejectionhandled property of the web.dom.WindowEventHandlers is the EventHandler for processing rejectionhandled events. events are raised when js.Promises are rejected.

window.addEventListener(\"rejectionhandled\", function(event) { ... }); window.onrejectionhandled = function(event) { ...};

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onrejectionhandled

Property.

The onrejectionhandled property of the `web.dom.WindowEventHandlers`
is the `EventHandler` for processing rejectionhandled events.
events are raised when `js.Promise`s are rejected.

`window.addEventListener(\"rejectionhandled\", function(event) { ... });
window.onrejectionhandled = function(event) { ...};`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onrejectionhandled`
sourceraw docstring

set-onstorage!cljs

(set-onstorage! this val)

Property.

The onstorage property of the web.dom.WindowEventHandlers mixin an EventHandler for processing storage events.

window.onstorage = functionRef;

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onstorage

Property.

The onstorage property of the `web.dom.WindowEventHandlers` mixin
an `EventHandler` for processing storage events.

`window.onstorage = functionRef;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onstorage`
sourceraw docstring

set-onunhandledrejection!cljs

(set-onunhandledrejection! this val)

Property.

The onunhandledrejection property of the web.dom.WindowEventHandlers is the EventHandler for processing unhandledrejection events. events are raised for unhandled js.Promise rejections.

window.onunhandledrejection = function;

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onunhandledrejection

Property.

The onunhandledrejection property of the `web.dom.WindowEventHandlers`
is the `EventHandler` for processing unhandledrejection events.
events are raised for unhandled `js.Promise` rejections.

`window.onunhandledrejection = function;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onunhandledrejection`
sourceraw docstring

set-onunload!cljs

(set-onunload! this val)

Property.

The onunload property of the web.dom.WindowEventHandlers mixin the EventHandler for processing unload events. These events when the window is unloading its content and resources. The resource is processed after the unload event occurs.

`window.addEventListener("unload", function(event) { ... }); window.onunload = function(event) { ... };

Typically, it is better to use window.addEventListener() and the unload event, instead of onunload.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onunload

Property.

The onunload property of the `web.dom.WindowEventHandlers` mixin
the `EventHandler` for processing unload events. These events
when the window is unloading its content and resources. The resource
is processed after the unload event occurs.

`window.addEventListener(\"unload\", function(event) { ... });
window.onunload = function(event) { ... };

Typically, it is better to use `window.addEventListener()` and the unload event, instead of onunload.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onunload`
sourceraw docstring

set-text!cljs

(set-text! this val)

Property.

Is a DOMString that represents the foreground color of text.

Property.

Is a DOMString that represents the foreground color of text.
sourceraw docstring

set-v-link!cljs

(set-v-link! this val)

Property.

Is a DOMString that represents the color of visited links.

Property.

Is a DOMString that represents the color of visited links.
sourceraw docstring

textcljs

(text this)

Property.

Is a DOMString that represents the foreground color of text.

Property.

Is a DOMString that represents the foreground color of text.
sourceraw docstring

(v-link this)

Property.

Is a DOMString that represents the color of visited links.

Property.

Is a DOMString that represents the color of visited links.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close