j-iFrameViewer
This component show a layer (over the content) with a iframe.
- singleton
Options:
name {String}a label name to headerurl {String}URL address for iframeready {Function(iframe)}optional,onreadyhandlerclose {Function}optional,onclosehandleresc {Boolean}can close the component with pressing ofESCkey (defualt:false)width {String}a width of iframe (default:100%)margin {Number}a vertical (top/bottom) margin (default:0)- NEW:
html {String}a custom HTML content for the iframe
Use it with <ui-component name="iframeviewer">. When the component is not loaded yet, jComponent downloads it on first use from the address in DEF.fallback (the Componentator CDN by default). Author: Peter Širka. Source: the Componentator components repository, MIT license.
<ui-component name="iframeviewer"></ui-component>
<script>
SETTER(true, 'iframeviewer/open', { url: 'https://www.totaljs.com', name: 'Total.js', esc: true });
</script>