@hundh/contao-list-bundle
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -6,4 +6,11 @@ class ListBundle { | ||
ListBundle.initMasonry(); | ||
ListBundle.initEvents(); | ||
} | ||
static initEvents() { | ||
document.addEventListener('filterAjaxComplete', function(e) { | ||
ListBundle.updateList(e.detail); | ||
}); | ||
} | ||
static initPagination() { | ||
@@ -10,0 +17,0 @@ document.querySelectorAll('.huh-list .ajax-pagination').forEach(function(ajaxPagination) { |
{ | ||
"name": "@hundh/contao-list-bundle", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "This package contains the frontend assets of the composer bundle heimrichhannot/contao-list-bundle.", | ||
@@ -5,0 +5,0 @@ "main": "js/contao-list-bundle.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6596
106