Lines Matching full:currentimage

97     _defineProperty(this, "currentImage", void 0);
221 _this.currentImage.setAttribute('src', '');
450 this.currentImage = null;
521 if (!_this4.currentImage) return;
522 … _this4.currentImage.setAttribute('src', element.getAttribute(_this4.options.sourceAttr));
541 if (!this.currentImage) {
547 tmpImage.setAttribute('src', this.currentImage.getAttribute('src'));
548 this.currentImage.dataset.scale = 1;
549 this.currentImage.dataset.translateX = 0;
550 this.currentImage.dataset.translateY = 0;
576 if (_this5.loadedImages.indexOf(_this5.currentImage.getAttribute('src')) === -1) {
577 _this5.loadedImages.push(_this5.currentImage.getAttribute('src'));
594 _this5.fadeIn(_this5.currentImage, _this5.options.fadeSpeed, function () {
657 … _this5.domNodes.downloadLink.setAttribute('href', _this5.currentImage.getAttribute('src'));
664 …this.currentImage.style[this.transitionPrefix + 'transform'] = 'translate(' + targetOffsetX + ',' …
674 this.currentImage.dataset.scale = initialScale;
675 this.currentImage.dataset.translateX = targetOffsetX;
676 this.currentImage.dataset.translateY = targetOffsetY;
724 _this6.controlCoordinates.imgHeight = _this6.getDimensions(_this6.currentImage).height;
725 _this6.controlCoordinates.imgWidth = _this6.getDimensions(_this6.currentImage).width;
728 … _this6.controlCoordinates.initialOffsetX = parseFloat(_this6.currentImage.dataset.translateX);
729 … _this6.controlCoordinates.initialOffsetY = parseFloat(_this6.currentImage.dataset.translateY);
787 _this6.controlCoordinates.imgHeight = _this6.getDimensions(_this6.currentImage).height;
788 _this6.controlCoordinates.imgWidth = _this6.getDimensions(_this6.currentImage).width;
791 … _this6.controlCoordinates.initialOffsetX = parseFloat(_this6.currentImage.dataset.translateX);
792 … _this6.controlCoordinates.initialOffsetY = parseFloat(_this6.currentImage.dataset.translateY);
800 _this6.controlCoordinates.imgHeight = _this6.getDimensions(_this6.currentImage).height;
801 _this6.controlCoordinates.imgWidth = _this6.getDimensions(_this6.currentImage).width;
811 _this6.currentImage.classList.add('sl-transition');
827 if (_this6.currentImage) {
828 _this6.currentImage.classList.remove('sl-transition');
833 … _this6.controlCoordinates.initialOffsetX = parseFloat(_this6.currentImage.dataset.translateX);
834 … _this6.controlCoordinates.initialOffsetY = parseFloat(_this6.currentImage.dataset.translateY);
838 … _this6.controlCoordinates.initialOffsetX = parseFloat(_this6.currentImage.dataset.translateX);
839 … _this6.controlCoordinates.initialOffsetY = parseFloat(_this6.currentImage.dataset.translateY);
953 if (_this6.currentImage) {
998 _this6.controlCoordinates.imgHeight = _this6.getDimensions(_this6.currentImage).height;
999 _this6.controlCoordinates.imgWidth = _this6.getDimensions(_this6.currentImage).width;
1002 _this6.currentImage.classList.add('sl-transition');
1021 if (_this6.currentImage) {
1022 _this6.currentImage.classList.remove('sl-transition');
1023 _this6.currentImage.style[_this6.transitionPrefix + 'transform-origin'] = null;
1167 this.currentImage = document.createElement('img');
1168 this.currentImage.style.display = 'none';
1169 this.currentImage.setAttribute('src', targetURL);
1170 this.currentImage.dataset.scale = 1;
1171 this.currentImage.dataset.translateX = 0;
1172 this.currentImage.dataset.translateY = 0;
1178 this.domNodes.image.appendChild(this.currentImage);
1545 currentImage: this.currentImage,