Parameters
| Parameter | Type | Description |
|---|---|---|
target | string | HTMLElement | Either a CSS selector string or an HTMLElement container. If a string, will query for an element and create an iframe inside it. If an HTMLElement, will create an iframe inside it. |
Returns
HTMLIFrameElement
The iframe element.