JSPM

@braintree/iframer

1.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 172836
  • Score
    100M100P100Q189008F
  • License MIT

A utility to consistently create iframes

Package Exports

  • @braintree/iframer

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@braintree/iframer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

iframer

A utility to allow consistent iframe creation.

Example

var iframer = require('iframer');

var myIframe = iframer({
  name: 'braintree-dropin-iframe',
  style: 'z-index: 999',
  width: '100%',
  height: '68'
});

document.body.appendChild(myIframe);

Testing

npm t