chemzqm / resizable

make any element resizable.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

resizable

UI Resizable component, make any element resizable.

API changed in this fork.

Installation

$ component install chemzqm/resizable

Example

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

API

resizable(el[, opts])

Create a new Resizable instance.

resizable.set(optname, optvalue)

Set options.

resizable.bind()

bind events and append handles.

resizable.unbind()

unbind events and remove handles.

License

MIT

About

make any element resizable.


Languages

Language:JavaScript 75.3%Language:CSS 24.7%