W3cubDocs

/Haxe JavaScript

IFrameElement

package js.html

extends ElementDOMElementNodeEventTarget

@:native("HTMLIFrameElement") 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:

Variables

align:String

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

allowFullscreen:Bool

read only contentDocument:HTMLDocument

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

read only contentWindow: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.

read only sandbox: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–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/IFrameElement.html