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,
listener: EventListenerOrEventListenerObject,
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,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void;var HTMLIFrameElement: {
prototype: HTMLIFrameElement;
new (): HTMLIFrameElement;
};§Extends
§Properties
§
readonly contentWindow: WindowProxy | null
[src]Retrieves the object of the specified.
§
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.
§
referrerPolicy: ReferrerPolicy
[src]§
readonly sandbox: DOMTokenList
[src]§Methods
§
addEventListener<K extends keyof HTMLElementEventMap>(
[src]type: K,
listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void§
addEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void§
removeEventListener<K extends keyof HTMLElementEventMap>(
[src]type: K,
listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void§
removeEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void