Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ogone/src/ogone.dom.d.ts>HTMLBodyElement

Advanced Web Composition for Future
Latest
interface HTMLBodyElement
import { type HTMLBodyElement } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";

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

Properties

deprecated
background: string
deprecated
bgColor: string
deprecated
onorientationchange: ((this: HTMLBodyElement, ev: Event) => any) | null
deprecated
text: string

Methods

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