An adapt component that loads content into an iframe
First, be sure to install the Adapt Command Line Interface, then from the command line run:-
adapt install adapt-iframe
This component can also be installed by adding the component to the adapt.json file before running adapt install:
"adapt-iframe": "*"
See settings
For example JSON format, see the example.json file
This value must be: iframe
You can use this setting to add custom classes to your template and LESS file.
This defines the position of the component in the block. Values can be full, left or right.
The displayTitle and body settings can be left blank. Although the blank component could be used instead: adapt-contrib-blank
The url of the iframe contents
Specify the native width of the iframe - this is used (along with height) to make the iframe responsive
Specify the native height of the iframe - this is used (along with width) to make the iframe responsive
If the dimensions of the iframe should be delegated to a child element of the iframe use this attribute to select which child element this is.
To be completed.
This component has been tested to the standard Adapt browser specification.
=======