require(["delite/BackgroundIframe"], function (BackgroundIframe) {
new BackgroundIframe(node);
});
Makes a background iframe as a child of node. Iframe fills area (and position) of node.
Parameters:
Name | Type | Description |
---|---|---|
node |
Element |
- Source:
Methods
-
destroy()
-
Destroy the iframe.
- Source: