This commit is contained in:
2025-09-25 03:03:31 +05:00
commit ae480cf2f6
2768 changed files with 1485826 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
theme.listCollections = (function() {
function listCollections(container) {
this.$container = $(container);
//var sectionId = this.$container.attr('data-section-id');
//this.settings = {};
this.namespace = '.list-collections';
this.onLoad();
};
listCollections.prototype = $.extend({}, Section.prototype, listCollections.prototype, {
onLoad: function() {
if(theme.is_loaded) {
theme.ImagesLazyLoad.update();
if(theme.Masonry) {
theme.Masonry.init(true);
}
}
},
onUnload: function() {
this.$container.off(this.namespace);
if(theme.Masonry) {
theme.Masonry.destroy();
}
}
});
return listCollections;
})();
$(function() {
theme.sections.register('list-collections', theme.listCollections);
});