Lines Matching full:lg

1 /*! lg-thumbnail - v1.0.3 - 2017-02-05
80 _this.core.$outer.addClass('lg-thumb-open');
85 this.core.$outer.addClass('lg-pull-caption-up');
113 var html = '<div class="lg-thumb-outer">' +
114 '<div class="lg-thumb lg-group">' +
129 _this.core.$outer.addClass('lg-has-thumb');
131 _this.core.$outer.find('.lg').append(html);
133 _this.$thumbOuter = _this.core.$outer.find('.lg-thumb-outer');
137 _this.core.$outer.find('.lg-thumb').css({
177 …thumbList += '<div data-vimeo-id="' + vimeoId + '" class="lg-thumb-item" style="width:' + _this.co…
197 _this.core.$outer.find('.lg-thumb').html(thumbList);
199 $thumb = _this.core.$outer.find('.lg-thumb-item');
217 _this.core.$el.on('onBeforeSlide.lg.tm', function() {
222 $thumb.on('click.lg touchend.lg', function() {
235 _this.core.$el.on('onBeforeSlide.lg.tm', function() {
239 $(window).on('resize.lg.thumb orientationchange.lg.thumb', function() {
250 this.core.$outer.find('.lg-thumb').css({
256 var $thumb = this.core.$outer.find('.lg-thumb');
280 … this.core.$outer.find('.lg-thumb').css('transition-duration', this.core.s.speed + 'ms');
309 _this.$thumbOuter.addClass('lg-grab');
311 _this.core.$outer.find('.lg-thumb').on('mousedown.lg.thumb', function(e) {
313 // execute only on .lg-object
324 _this.$thumbOuter.removeClass('lg-grab').addClass('lg-grabbing');
328 $(window).on('mousemove.lg.thumb', function(e) {
334 _this.$thumbOuter.addClass('lg-dragging');
352 $(window).on('mouseup.lg.thumb', function() {
355 _this.$thumbOuter.removeClass('lg-dragging');
369 _this.$thumbOuter.removeClass('lg-grabbing').addClass('lg-grab');
382 _this.core.$outer.find('.lg-thumb').on('touchstart.lg', function(e) {
390 _this.core.$outer.find('.lg-thumb').on('touchmove.lg', function(e) {
396 _this.$thumbOuter.addClass('lg-dragging');
416 _this.core.$outer.find('.lg-thumb').on('touchend.lg', function() {
421 _this.$thumbOuter.removeClass('lg-dragging');
440 _this.core.$outer.addClass('lg-can-toggle');
441 _this.$thumbOuter.append('<span class="lg-toogle-thumb lg-icon"></span>');
442 _this.core.$outer.find('.lg-toogle-thumb').on('click.lg', function() {
443 _this.core.$outer.toggleClass('lg-thumb-open');
450 $(window).on('keydown.lg.thumb', function(e) {
453 _this.core.$outer.addClass('lg-thumb-open');
456 _this.core.$outer.removeClass('lg-thumb-open');
463 $(window).off('resize.lg.thumb orientationchange.lg.thumb keydown.lg.thumb');
465 this.core.$outer.removeClass('lg-has-thumb');