Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

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

Provides special properties (beyond the regular HTMLElement export interface it also has available to it by inheritance) for manipulating elements.

Properties

deprecated
face: string
deprecated
size: number

Methods

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