make any element resizable.
JavaScript
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
.gitignore
History.md
Makefile
Readme.md
component.json
index.js
resizable.css
resize.js
template.html
template.js

Readme.md

resizable

UI Resizable component, make any element resizable.

Installation

$ component install ui-component/resizable

Example

var resizable = require('resizable')(myElement);
resizable.set('handles', 'se, s, e');
resizable.build();

API

resizable(el[, opts])

Create a new Resizable instance.

resizable.set(optname, optvalue)

Set options.

resizable.build()

bind events and append handles.

resizable.destroy()

unbind events and remove handles.

License

MIT