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

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

A element. It inherits properties and methods from its parent, HTMLElement, and from LinkStyle.

Properties

media: string

Sets or retrieves the media export type.

deprecated
type: string

Methods

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