# 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 |