Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

HTMLIFrameElement

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.

interface HTMLIFrameElement extends HTMLElement {
align: string;
allow: string;
allowFullscreen: boolean;
readonly contentDocument: Document | null;
readonly contentWindow: WindowProxy | null;
frameBorder: string;
height: string;
longDesc: string;
marginHeight: string;
marginWidth: string;
name: string;
referrerPolicy: ReferrerPolicy;
readonly sandbox: DOMTokenList;
scrolling: string;
src: string;
srcdoc: string;
width: string;
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;
getSVGDocument(): Document | null;
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;
}
var HTMLIFrameElement: {
prototype: HTMLIFrameElement;
}
;

§Extends

§Properties

§
align: string
[src]

Sets or retrieves how the object is aligned with adjacent text.

§
allow: string
[src]
§
allowFullscreen: boolean
[src]
§
readonly contentDocument: Document | null
[src]

Retrieves the document object of the page or frame.

§
readonly contentWindow: WindowProxy | null
[src]

Retrieves the object of the specified.

§
frameBorder: string
[src]

Sets or retrieves whether to display a border for the frame.

§
height: string
[src]

Sets or retrieves the height of the object.

§
longDesc: string
[src]

Sets or retrieves a URI to a long description of the object.

§
marginHeight: string
[src]

Sets or retrieves the top and bottom margin heights before displaying the text in a frame.

§
marginWidth: string
[src]

Sets or retrieves the left and right margin widths before displaying the text in a frame.

§
name: string
[src]

Sets or retrieves the frame name.

§
referrerPolicy: ReferrerPolicy
[src]
§
readonly sandbox: DOMTokenList
[src]
§
scrolling: string
[src]

Sets or retrieves whether the frame can be scrolled.

§
src: string
[src]

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

§
srcdoc: string
[src]

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

§
width: string
[src]

Sets or retrieves the width of the object.

§Methods

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