2.0.0 • Published 5 months ago

@braintree/iframer v2.0.0

Weekly downloads
179,963
License
MIT
Repository
github
Last release
5 months ago

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