Skip to main content
Module

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

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

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