JSPM

@braintree/iframer

2.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 171784
  • Score
    100M100P100Q194447F
  • License MIT

A utility to consistently create iframes

Package Exports

  • @braintree/iframer
  • @braintree/iframer/dist/index.js

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