1.0.6 • Published 7 years ago

jquery-resizable v1.0.6

Weekly downloads
2,773
License
MIT
Repository
github
Last release
7 years ago

resizable

jQuery plugin for resizable elements.

Demo: https://jsfiddle.net/uqv7cdjz/ (thanks @pmorch !)

Install

npm install jquery-resizable

Then include resizable.js and resizable.css in your webapp.

Usage

$('#some div').resizable( options )

It also applies for multiple elements.

Options

direction

Possible values for an array:

  • top
  • right
  • bottom
  • left

As a string:

  • horizontal = left + right
  • vertical = top + bottom
  • top
  • right
  • bottom
  • left

Example:

$('#div1').resizable({
    direction: ['bottom', 'left']
})
$('#div2').resizable({
    direction: 'vertical'
})

By default each direction is turned on.

start

Event fired at the start of resize operation.

resize

Event fired on mouse move during resize operation.

stop

Event fired at the stop of resize operation.

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago