Lines Matching refs:relatedElements

155     this.relatedElements = [];  property in SimpleLightbox
424 var element = this.relatedElements[this.currentImageIndex];
474 length = this.relatedElements.length,
485 …_this3.relatedElements[index].dispatchEvent(new Event('nextImageLoaded.' + _this3.eventNamespace));
487 … nextImage.setAttribute('src', this.relatedElements[next].getAttribute(this.options.sourceAttr));
493 …_this3.relatedElements[index].dispatchEvent(new Event('prevImageLoaded.' + _this3.eventNamespace));
495 … prevImage.setAttribute('src', this.relatedElements[prev].getAttribute(this.options.sourceAttr));
505 …this.relatedElements[this.currentImageIndex].dispatchEvent(new Event('change.' + this.eventNamespa…
506 …this.relatedElements[this.currentImageIndex].dispatchEvent(new Event((direction === 1 ? 'next' : '…
508 …if (this.isAnimating || (newIndex < 0 || newIndex >= this.relatedElements.length) && this.options.…
511 …this.currentImageIndex = newIndex < 0 ? this.relatedElements.length - 1 : newIndex > this.relatedE…
520 var element = _this4.relatedElements[_this4.currentImageIndex];
553 …_this5.relatedElements[_this5.currentImageIndex].dispatchEvent(new Event('error.' + _this5.eventNa…
568 …_this5.relatedElements[_this5.currentImageIndex].dispatchEvent(new Event('changed.' + _this5.event…
569 …_this5.relatedElements[_this5.currentImageIndex].dispatchEvent(new Event((direction === 1 ? 'nextD…
602 …onSelector === 'self' ? _this5.relatedElements[_this5.currentImageIndex] : _this5.getCaptionElemen…
604 …captionContainer = _this5.options.captionSelector(_this5.relatedElements[_this5.currentImageIndex]…
619 if (_this5.currentImageIndex >= _this5.relatedElements.length - 1) {
625 if (_this5.currentImageIndex < _this5.relatedElements.length - 1) {
629 if (_this5.relatedElements.length === 1) {
978 …if (_this6.currentImageIndex >= _this6.relatedElements.length - 1 && _this6.controlCoordinates.swi…
1153 this.relatedElements = this.getRelated(element.rel);
1155 … if (this.relatedElements.length == 1 && this.domNodes.wrapper.contains(this.domNodes.counter)) {
1157 …} else if (this.relatedElements.length > 1 && !this.domNodes.wrapper.contains(this.domNodes.counte…
1165 this.currentImageIndex = this.relatedElements.indexOf(element);
1183 this.domNodes.counter.querySelector('.sl-total').innerHTML = this.relatedElements.length;