skeets.iframe-resize

1.0.14 • Public • Published

skeets.iframe-resize

Make iframe resize itself to fit content

Install

npm install skeets.iframe-resize

(requires jQuery)

Usage

Call this function with your iFrame element:

iFrameResize($("iframe"), options);

Options

The following are all optional.

direction - Set to "up" to have the iFrame expand up instead of down.

container - Required if the direction is "up". Set to the selector of the parent element that scrolls.

License

ISC

Readme

Keywords

Package Sidebar

Install

npm i skeets.iframe-resize

Weekly Downloads

0

Version

1.0.14

License

ISC

Unpacked Size

4.87 kB

Total Files

3

Last publish

Collaborators

  • skeets