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.
(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.
(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.
(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.
(link this)
Property.
Is a DOMString that represents the color of unvisited links.
Property. Is a DOMString that represents the color of unvisited links.
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(onrejectionhandled this)
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
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`
(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`
(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`
(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`
(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.
(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.
(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.
(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.
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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`
(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.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
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`
(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`
(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`
(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`
(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.
(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.
(text this)
Property.
Is a DOMString that represents the foreground color of text.
Property. Is a DOMString that represents the foreground color of text.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close