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:
Variables
read onlycontentDocument:HTMLDocument
Returns a Document
, the active document in the inline frame's nested browsing context.
read onlycontentWindow:Window
Returns a WindowProxy
, the window proxy for the nested browsing context.
Is a DOMString
that reflects the name
HTML attribute, containing a name by which to refer to the frame.
read onlysandbox:DOMTokenList
Is a DOMSettableTokenList
that reflects the sandbox
HTML attribute, indicating extra restrictions on the behavior of the nested content.