0.1.0 • Published 9 years ago

fresizer v0.1.0

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

Fresizer

A tiny javascript module that helps you resize a specific element to your desired sizes. Case use would be resizing viewports to emulate devices on your website or app.

UNSTABLE. Please wait till 1.0.0 version for production use.

Basic Usage

var fresizer = require('fresizer');
<div id="fresize-nav">
links will be stored here
</div>

<div id="fresize-content">
	your content
</div>

Options

Pass the following options to fresizer:

var options = {
    onconfig: function *(config) {
        // do stuff
    }
};