Skip to main content
Module

x/evt/lib/index.ts>dom.HTMLOListElement

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.HTMLOListElement
implements HTMLElement
import { type dom } from "https://deno.land/x/evt@v2.4.13/lib/index.ts";
const { HTMLOListElement } = dom;

Provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating ordered list elements.

Properties

deprecated
compact: boolean
reversed: boolean
start: number

The starting number.

type: string

Methods

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