Nutritious Pancake Mountain
Have ideas to improve npm?Join in the discussion! »

@braintree/iframer

1.0.3 • Public • Published

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

Keywords

none

Install

npm i @braintree/[email protected]

Version

1.0.3

License

MIT

Last publish

Collaborators

  • avatar