lucified/lucify-iframe-embed

Name: lucify-iframe-embed

Owner: Lucify

Description: null

Created: 2016-05-17 17:25:58.0

Updated: 2016-05-17 17:39:52.0

Pushed: 2016-05-18 08:05:11.0

Homepage: null

Size: 5

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

React component for auto-resizing iframes

React component for embedding auto-resizing iframes, based on iframe-resizer version 2.8.10 by David Bradshaw.

Pre-release notice

This is a pre-release of a package belonging to the Lucify platform. It has been published merely to satisfy dependencies of other packages. Any APIs may change without notice.

Usage
rt IFrameEmbed from 'lucify-iframe-embed';
se IFrameEmbed as regular React Component

The only React prop is url, which is the URL for the page to be embedded. The page pointed by url should include iframeResizer.contentWindow.min.js from the iframe-resizer project for automatic resizing to work.

License

MIT


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.