openiframe (master) doxdox documentation

Ignore X-Frame-Options, Content-Security-Policy, X-Content-Type-Options, X-Xss-Protection etc.

# OpenIframe()

Create a new OpenIframe element

# OpenIframe(options, options.container, options.width, options.height, options.append, options.src)

Creates an instance of OpenIframe.

Parameters

Name Types Description
options Object
options.container DOM string
options.width Number - iframe width
options.height Number - iframe height
options.append Boolean - append iframe to container, prepend by default
options.src String - iframe src

# constructor(options, options.container, options.width, options.height, options.append, options.src)

Creates an instance of OpenIframe.

Parameters

Name Types Description
options Object
options.container DOM string
options.width Number - iframe width
options.height Number - iframe height
options.append Boolean - append iframe to container, prepend by default
options.src String - iframe src

# OpenIframe()

Create a new OpenIframe element