Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

HTMLBodyElement

Provides special properties (beyond those inherited from the regular HTMLElement interface) for manipulating elements.

interface HTMLBodyElement extends HTMLElement, WindowEventHandlers {
aLink: string;
background: string;
bgColor: string;
link: string;
text: string;
vLink: string;
addEventListener<K extends keyof HTMLBodyElementEventMap>(
type: K,
listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void;
removeEventListener<K extends keyof HTMLBodyElementEventMap>(
type: K,
listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void;
}
var HTMLBodyElement: {
prototype: HTMLBodyElement;
new (): HTMLBodyElement;
}
;

§Extends

§Properties

§
background: string
[src]
§
bgColor: string
[src]
§
text: string
[src]

§Methods

§
addEventListener<K extends keyof HTMLBodyElementEventMap>(
type: K,
listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
removeEventListener<K extends keyof HTMLBodyElementEventMap>(
type: K,
listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
[src]
§
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void
[src]