Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cheton authored Sep 5, 2017
1 parent b87cfd1 commit 2b3f335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Demo: https://trendmicro-frontend.github.io/react-iframe

### Resize iframe to fit content (same domain only)

If you want to avoid polling, use [MutationObserver](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver) and [resize-event](https://github.com/shama/resize-event) to detect the size of the iframe on content changes.
If you want to avoid polling, use [MutationObserver](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver) or [iframe-resizer](https://github.com/davidjbradshaw/iframe-resizer) to detect the size of the iframe on content changes.

```js
<Iframe
Expand Down

0 comments on commit 2b3f335

Please sign in to comment.