How to use the xfc.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 / terra-framework / packages / terra-embedded-content-consumer / src / terra-dev-site / provider / embedded-content-consumer / providers / CustomEventsProvider.provider.jsx View on Github external
addEventListener(eventName) {
    Provider.on(eventName, (event) => {
      document.getElementById('embedded-content-consumer-reply').innerHTML = `embedded-content-consumer reply: ${JSON.stringify(event)}`;
    });
  }

xfc

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

Apache-2.0
Latest version published 1 year ago

Package Health Score

58 / 100
Full package analysis