@amazeelabs/silverback-iframe

Frontend part of amazeelabs/silverback_iframe Drupal module.

Usage no npm install needed!

<script type="module">
  import amazeelabsSilverbackIframe from 'https://cdn.skypack.dev/@amazeelabs/silverback-iframe';
</script>

README

Silverback Iframe

Part of Silverback Iframe solution.

Exports SilverbackIframe component which is an extended version of iframe-resizer-react.

The component

  • automatically adds iframe=true param to the iframe src
  • receives commands from Drupal, e.g. redirect, displayMessages, etc
  • sends parent frame base URL to Drupal