Extension to the jQuery UI Resizable plugin for snapping while resizing.
JavaScript
Switch branches/tags
Nothing to show

README.md

jQuery UI Resizable Snap extension

by Alexander Polomoshnov (alex.polomoshnov@gmail.com)

released under the MIT license

Unfortunately, the jQuery UI Resizable plugin does not ship with the snap functionality unlike the jQuery UI Draggable plugin that has this very useful functionality out of the box.

But here comes jQuery UI Resizable Snap extension to the rescue! It enhances the jQuery UI Resizable plugin with the same snap functionality that is offered by the jQuery UI Draggable plugin.

jQuery UI Resizable Snap extension exposes three options to the jQuery UI Resizable plugin: snap, snapMode, and snapTolerance. For the information on those three options, please refer to the official jQuery UI Draggable plugin documentation at http://api.jqueryui.com/draggable/#option-snap.

To see jQuery UI Resizable Snap extension in action please check out this demo.