Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/yxz/typing/lib.dom.ts>HTMLAreaElement

Deno Standard Extensions
Go to Latest
interface HTMLAreaElement
import { type HTMLAreaElement } from "https://deno.land/x/yxz@0.17.0/typing/lib.dom.ts";

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.

Properties

alt: string

Sets or retrieves a text alternative to the graphic.

coords: string

Sets or retrieves the coordinates of the object.

download: string
deprecated
noHref: boolean

Sets or gets whether clicks in this region cause action.

ping: string
referrerPolicy: string
rel: string
readonly
relList: DOMTokenList
shape: string

Sets or retrieves the shape of the object.

target: string

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
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