1.0.7 • Published 6 years ago

expandable-iframe v1.0.7

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

About

Plugin that allows resizing of the parent iframe containing our page.

The plugin allows 2 parameters to be passed as arguments.

Distance

This describes the max height the iframe is allowed to expand.

Transition

This is the css transition to apply to that resizing.

Usage

var iframeExpand = require('expandable-iframe');
// grab a dom element lets say variable container
var expanderInstance = new iframeExpand(container);
// Define your transition here.
var transition = 'linear';
var timeinSeconds = 0.5;

expanderInstance.expand(container.style.height,transition,timeinSeconds);
expanderInstance.collapse(transition,timeinSeconds);
1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago