interface dom.HTMLSlotElement
implements HTMLElement
import { type dom } from "https://deno.land/x/evt@v2.4.19/lib/index.ts";
const { HTMLSlotElement } = dom;
Methods
assignedElements(options?: AssignedNodesOptions): Element[]
assignedNodes(options?: AssignedNodesOptions): Node[]
addEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLSlotElement, 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: HTMLSlotElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,