Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.HTMLMetaElement

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.HTMLMetaElement
implements HTMLElement
import { type dom } from "https://deno.land/x/evt@v2.4.10/lib/types/index.ts";
const { HTMLMetaElement } = dom;

Contains descriptive metadata about a document. It inherits all of the properties and methods described in the HTMLElement interface.

Properties

content: string

Gets or sets meta-information to associate with httpEquiv or name.

httpEquiv: string

Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.

name: string

Sets or retrieves the value specified in the content attribute of the meta object.

deprecated
scheme: string

Methods

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