Skip to main content
Module

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

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

Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating quoting elements, like and , but not the element.

Properties

cite: string

Sets or retrieves reference information about the object.

Methods

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