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,
listener: EventListenerOrEventListenerObject,
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,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void;var HTMLBodyElement: {
prototype: HTMLBodyElement;
new (): HTMLBodyElement;
};§Properties
§Methods
§
addEventListener<K extends keyof HTMLBodyElementEventMap>(
[src]type: K,
listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void§
addEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void§
removeEventListener<K extends keyof HTMLBodyElementEventMap>(
[src]type: K,
listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void§
removeEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void