Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Selectize.js | 12,933 | 600 | 105 | 25 days ago | 7 | July 12, 2018 | 51 | apache-2.0 | SCSS | |
Selectize is the hybrid of a textbox and <select> box. It's jQuery based, and it has autocomplete and native-feeling keyboard navigation; useful for tagging, contact lists, etc. | ||||||||||
Bootstrap Fileinput | 5,258 | 1,182 | 35 | 3 months ago | 89 | August 17, 2022 | 14 | other | JavaScript | |
An enhanced HTML 5 file input for Bootstrap 5.x/4.x./3.x with file preview, multiple selection, and more features. | ||||||||||
Jstree | 5,017 | 398 | 116 | 4 months ago | 28 | September 03, 2021 | 2 | mit | JavaScript | |
jquery tree plugin | ||||||||||
Jquery Mask Plugin | 4,651 | 250 | 57 | 6 months ago | 30 | July 31, 2019 | 118 | other | JavaScript | |
A jQuery Plugin to make masks on form fields and HTML elements. | ||||||||||
Unveil | 4,272 | 3 years ago | 1 | February 03, 2015 | 106 | JavaScript | ||||
A very lightweight jQuery plugin to lazy load images | ||||||||||
Malihu Custom Scrollbar Plugin | 4,110 | 299 | 49 | 2 years ago | 11 | July 10, 2016 | 412 | other | JavaScript | |
Highly customizable custom scrollbar jQuery plugin, featuring vertical/horizontal scrollbars, scrolling momentum, mouse-wheel, keyboard and touch support etc. | ||||||||||
Jquery Placeholder | 4,073 | 120 | 9 | 3 years ago | 4 | January 12, 2016 | 29 | mit | JavaScript | |
A jQuery plugin that enables HTML5 placeholder behavior for browsers that aren’t trying hard enough yet | ||||||||||
Animsition | 3,749 | 21 | 1 | 4 years ago | 8 | April 26, 2016 | 76 | mit | CSS | |
A simple and easy jQuery plugin for CSS animated page transitions. | ||||||||||
Bootstrap Multiselect | 3,620 | 82 | 21 | 2 months ago | 4 | August 01, 2021 | 302 | other | HTML | |
JQuery multiselect plugin based on Twitter Bootstrap. | ||||||||||
Jquery Match Height | 3,086 | 491 | 26 | 5 years ago | 4 | February 19, 2017 | 78 | mit | JavaScript | |
a responsive equal heights plugin |
A jQuery plugin wrapper for Cropper.js.
dist/
├── jquery-cropper.js (UMD)
├── jquery-cropper.min.js (UMD, compressed)
├── jquery-cropper.common.js (CommonJS, default)
└── jquery-cropper.esm.js (ES Module)
npm install jquery-cropper jquery cropperjs
Include files:
<script src="/path/to/jquery.js"></script><!-- jQuery is required -->
<script src="/path/to/cropper.js"></script><!-- Cropper.js is required -->
<link href="/path/to/cropper.css" rel="stylesheet">
<script src="/path/to/jquery-cropper.js"></script>
Initialize with $.fn.cropper
method.
<!-- Wrap the image or canvas element with a block element (container) -->
<div>
<img id="image" src="picture.jpg">
</div>
/* Limit image width to avoid overflow the container */
img {
max-width: 100%; /* This rule is very important, please do not ignore this! */
}
var $image = $('#image');
$image.cropper({
aspectRatio: 16 / 9,
crop: function(event) {
console.log(event.detail.x);
console.log(event.detail.y);
console.log(event.detail.width);
console.log(event.detail.height);
console.log(event.detail.rotate);
console.log(event.detail.scaleX);
console.log(event.detail.scaleY);
}
});
// Get the Cropper.js instance after initialized
var cropper = $image.data('cropper');
See the available options of Cropper.js.
$().cropper(options);
See the available methods of Cropper.js.
$().cropper('method', argument1, , argument2, ..., argumentN);
See the available events of Cropper.js.
$().on('event', handler);
If you have to use other plugin with the same namespace, just call the $.fn.cropper.noConflict
method to revert to it.
<script src="other-plugin.js"></script>
<script src="jquery-cropper.js"></script>
<script>
$.fn.cropper.noConflict();
// Code that uses other plugin's "$().cropper" can follow here.
</script>
It is the same as the browser support of Cropper.js. As a jQuery plugin, you also need to see the jQuery Browser Support.
Please read through our contributing guidelines.
Maintained under the Semantic Versioning guidelines.