Download Source Code Pym.js 0.4.5
NPR is announcing that Pym.js with version number 0.4.5 is already available to download.
What is Pym.js ?
Any iframe embedded via Pym.js will look for its parent container and automatically resize itself to fit in the container.Both width and height dimensions are modified, and Pym also fixes cross-domain issues that most browsers have, letting developers communicate and interact with the iframe via their code.The best place to use Pym.js is with dynamic platforms like CMSs, online stores, blogs, or forums, where the content that users post can be very different from case to case and you need a solid general approach to iframe embeds for the entire site.Demos are included with the download package.
This is changelog for Pym.js version 0.4.5 :
- Added API documentation.
- Refactor public and private APIs to have more obvious names.
- Added support for generic message passing.
- Support specifying pym div’s with data attributes.
You can read the complete changelog and also download this latest version on their homepage: blog.apps.npr.org