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

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

Advanced Web Composition for Future
Latest
interface HTMLTimeElement
implements HTMLElement
import { type HTMLTimeElement } 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

dateTime: string

Methods

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