interface HTMLLIElement
implements HTMLElement
import { type HTMLLIElement } from "https://deno.land/x/yxz@0.32.0/typing/lib.dom.ts";
Exposes specific properties and methods (beyond those defined by regular HTMLElement interface it also has available to it by inheritance) for manipulating list elements.
Methods
addEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,