Initial version
This commit is contained in:
27
src/events.js
Normal file
27
src/events.js
Normal file
@@ -0,0 +1,27 @@
|
||||
/* globals mixitup */
|
||||
|
||||
mixitup.Events.registerAction('afterConstruct', 'pagination', function() {
|
||||
/**
|
||||
* A custom event triggered whenever a pagination operation starts.
|
||||
*
|
||||
* @name paginateStart
|
||||
* @memberof mixitup.Events
|
||||
* @static
|
||||
* @type {CustomEvent}
|
||||
*/
|
||||
|
||||
this.paginateStart = null;
|
||||
|
||||
/**
|
||||
* A custom event triggered whenever a pagination operation ends.
|
||||
*
|
||||
* @name paginateEnd
|
||||
* @memberof mixitup.Events
|
||||
* @static
|
||||
* @type {CustomEvent}
|
||||
*/
|
||||
|
||||
this.paginateEnd = null;
|
||||
});
|
||||
|
||||
mixitup.events = new mixitup.Events();
|
||||
Reference in New Issue
Block a user