Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

HTMLAreaElement

Provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of elements.

interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
alt: string;
coords: string;
download: string;
noHref: boolean;
ping: string;
referrerPolicy: string;
rel: string;
readonly relList: DOMTokenList;
shape: string;
target: string;
addEventListener<K extends keyof HTMLElementEventMap>(
type: K,
listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void;
removeEventListener<K extends keyof HTMLElementEventMap>(
type: K,
listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void;
}
var HTMLAreaElement: {
prototype: HTMLAreaElement;
new (): HTMLAreaElement;
}
;

§Extends

§Properties

§
alt: string
[src]

Sets or retrieves a text alternative to the graphic.

§
coords: string
[src]

Sets or retrieves the coordinates of the object.

§
download: string
[src]
§
noHref: boolean
[src]

Sets or gets whether clicks in this region cause action.

§
ping: string
[src]
§
referrerPolicy: string
[src]
§
rel: string
[src]
§
readonly relList: DOMTokenList
[src]
§
shape: string
[src]

Sets or retrieves the shape of the object.

§
target: string
[src]

Sets or retrieves the window or frame at which to target content.

§Methods

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