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

HTMLFrameElement

deprecated
interface HTMLFrameElement extends HTMLElement {
readonly contentDocument: Document | null;
readonly contentWindow: WindowProxy | null;
frameBorder: string;
longDesc: string;
marginHeight: string;
marginWidth: string;
name: string;
noResize: boolean;
scrolling: string;
src: string;
addEventListener<K extends keyof HTMLElementEventMap>(
type: K,
listener: (this: HTMLFrameElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void;
removeEventListener<K extends keyof HTMLElementEventMap>(
type: K,
listener: (this: HTMLFrameElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void;
}
var HTMLFrameElement: {
prototype: HTMLFrameElement;
}
;

§Extends

§Properties

§
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.

§
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.

§
noResize: boolean
[src]

Sets or retrieves whether the user can resize the frame.

§
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.

§Methods

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