Skip to content

thyagoquintas/jquery-resizable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

jquery-resizable

A simple, jQuery plugin for resize the first parent of the object.

Installation

Include script after the jQuery library (unless you are packaging scripts somehow else):

<script src="/path/to/jquery.resizable.js"></script>

Usage

Basic form

$(selector).resize(); //Remember -> Resize the first parent of the object.

Complete form

$(selector).resize({
  cursor : "nw-resize", //type of cursor;
  onResizeStart : function () { console.log("Start"); }, //function before start resize
  onResizing : function () { console.log("Continue"); }, //function while resizing 
  onResizeEnd : function () { console.log("Finished"); } //function after finished drag
});

Authors

Thyago Quintas

About

Simple jQuery Plugin for resize objects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published