How to use the xfc/src/provider.on function in xfc

To help you get started, we’ve selected a few xfc examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cerner / cerner-smart-embeddable-lib / src / js / cerner-smart-embeddable-lib.js View on Github external
listenForCustomFrameHeight: () => {
    Provider.on('iframeCustomResizer', () => {
      const height = `${window.CernerSmartEmbeddableLib.calcFrameHeight()}px`;
      CernerSmartEmbeddableLib.setFrameHeight(height);
    });
  },
};

xfc

A Cross Frame Container that handles securely embedding web content into a 3rd party domain

Apache-2.0
Latest version published 5 months ago

Package Health Score

71 / 100
Full package analysis