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

HTMLBaseElement

Contains the base URI for a document. This object inherits all of the properties and methods as described in the HTMLElement interface.

interface HTMLBaseElement extends HTMLElement {
href: string;
target: string;
addEventListener<K extends keyof HTMLElementEventMap>(
type: K,
listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void;
removeEventListener<K extends keyof HTMLElementEventMap>(
type: K,
listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void;
}
var HTMLBaseElement: {
prototype: HTMLBaseElement;
new (): HTMLBaseElement;
}
;

§Extends

§Properties

§
href: string
[src]

Gets or sets the baseline URL on which relative links are based.

§
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: HTMLBaseElement, 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: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
[src]
§
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void
[src]