Demo
An example jquery.scrollend in action.
Begin resizing your browser window. Event output will be displayed below.
No event
Installation
Manual installation
Reference the file in your project:
<script src="jquery.scrollend.js"></script>Using Bower
bower install jquery.scrollendUsing NPM
npm install jquery.scrollendUsage
Basic usage.
Direct method reference:
// Default options
$(selector).scrollend(function() {
	// execute callback...
});
// Custom options
$(selector).scrollend(1000, function() {
	// execute callback...
});Event binding:
// Default options
$(selector).on('scrollend', function() {
	// execute callback...
});
// Custom options
$(selector).on('scrollend', 1000, function() {
	// execute callback...
});Options
All plugin & event options.
| Option | delay | 
|---|---|
| Type | integer/ object | 
| Default | 250 | 
| Description | The amount of time, in millisecond, to wait after the last scroll event is fired before triggering the custom event. |