Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

Provides special properties (beyond the regular HTMLElement export interface it also has available to it by inheritance) for manipulating elements.

Properties

deprecated
align: string

Methods

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