Skip to main content
Module

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

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

Provides special properties and methods (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of inline frame elements.

Properties

deprecated
align: string
allow: string
allowFullscreen: boolean
allowPaymentRequest: boolean
readonly
contentDocument: Document | null

Retrieves the document object of the page or frame.

readonly
contentWindow: WindowProxy | null

Retrieves the object of the specified.

deprecated
frameBorder: string
height: string

Sets or retrieves the height of the object.

deprecated
longDesc: string
deprecated
marginHeight: string
deprecated
marginWidth: string
name: string

Sets or retrieves the frame name.

referrerPolicy: ReferrerPolicy
readonly
sandbox: DOMTokenList
deprecated
scrolling: string
src: string

Sets or retrieves a URL to be loaded by the object.

srcdoc: string

Sets or retrives the content of the page that is to contain.

width: string

Sets or retrieves the width of the object.

Methods

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