IFrameElement
package js.html
extends Element › DOMElement › Node › EventTarget
Available on js
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 also:
Variables
align:String
Is a DOMString
that specifies the alignment of the frame with respect to the surrounding context.
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.
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.
frameBorder:String
Is a DOMString
that indicates whether to create borders between frames.
height:String
Is a DOMString
that reflects the height
HTML attribute, indicating the height of the frame.
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.
name:String
Is a DOMString
that reflects the name
HTML attribute, containing a name by which to refer to the frame.
referrerPolicy:String
Is a DOMString
that reflects the referrerPolicy
HTML attribute indicating which referrer to use when fetching the linked resource.
read onlysandbox:DOMTokenList
Is a DOMSettableTokenList
that reflects the sandbox
HTML attribute, indicating extra restrictions on the behavior of the nested content.
scrolling:String
Is a DOMString
that indicates whether the browser should provide scrollbars for the frame.
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.
width:String
Is a DOMString
that reflects the width
HTML attribute, indicating the width of the frame.
Methods
getSVGDocument():HTMLDocument
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/IFrameElement.html