IFrameElement

EventTargetNodeDOMElementElementjs.html.IFrameElement (extern class)

The HTMLIFrameElement interface 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.

Documentation HTMLIFrameElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Instance Members

src: String

Is a DOMString that reflects the src HTML attribute, containing the address of the content to be embedded.


srcdoc: String

Is a DOMString that represents the content to display in the frame.


name: String

Is a DOMString that reflects the name HTML attribute, containing a name by which to refer to the frame.


sandbox: DOMTokenList

Is a DOMSettableTokenList that reflects the sandbox HTML attribute, indicating extra restrictions on the behavior of the nested content.


allowFullscreen: Bool

Is a Boolean indicating whether the inline frame is willing to be placed into full screen mode. See Using full-screen mode for details.


allowPaymentRequest: Bool

Is a Boolean indicating whether the Payment Request API may be invoked inside a cross-origin iframe.


width: String

Is a DOMString that reflects the width HTML attribute, indicating the width of the frame.


height: String

Is a DOMString that reflects the height HTML attribute, indicating the height of the frame.


referrerPolicy: String

Is a DOMString that reflects the referrerPolicy HTML attribute indicating which referrer to use when fetching the linked resource.


contentDocument: HTMLDocument

Returns a Document, the active document in the inline frame's nested browsing context.


contentWindow: Window

Returns a WindowProxy, the window proxy for the nested browsing context.


align: String

Is a DOMString that specifies the alignment of the frame with respect to the surrounding context.


scrolling: String

Is a DOMString that indicates whether the browser should provide scrollbars for the frame.


frameBorder: String

Is a DOMString that indicates whether to create borders between frames.


longDesc: String

Is a DOMString that contains the URI of a long description of the frame.


marginHeight: String

Is a DOMString being the height of the frame margin.


marginWidth: String

Is a DOMString being the width of the frame margin.


getSVGDocument(): HTMLDocument
Returns
HTMLDocument