Lines Matching refs:core
31 this.core = $(element).data('lightGallery');
33 this.core.s = $.extend({}, defaults, this.core.s);
35 if (this.core.s.hash) {
48 _this.core.$el.on('onAfterSlide.lg.tm', function(event, prevIndex, index) {
49 window.location.hash = 'lg=' + _this.core.s.galleryId + '&slide=' + index;
58 if ((_hash.indexOf('lg=' + _this.core.s.galleryId) > -1)) {
59 _this.core.slide(_idx, false, false);
60 } else if (_this.core.lGalleryOn) {
61 _this.core.destroy();
69 if (!this.core.s.hash) {
74 if (this.oldHash && this.oldHash.indexOf('lg=' + this.core.s.galleryId) < 0) {
84 this.core.$el.off('.lg.hash');