interface dom.HTMLSlotElement
implements HTMLElement
import { type dom } from "https://deno.land/x/evt@v2.5.2/lib/types/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,