import { type HTMLAnchorElement } from "https://deno.land/x/yxz@0.32.0/typing/lib.dom.ts";
Hyperlink elements and provides special properties and methods (beyond those of the regular HTMLElement object interface that they inherit from) for manipulating the layout and presentation of such elements.
Properties
readonly
relList: DOMTokenListSets or retrieves the relationship between the object and the destination of the link.
Methods
addEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLAnchorElement, 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: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,