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

x/ogone/src/ogone.dom.d.ts>HTMLBaseElement

Advanced Web Composition for Future
Latest
interface HTMLBaseElement
implements HTMLElement
import { type HTMLBaseElement } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";

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

Properties

href: string

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

target: string

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