element.clientWidth; }, scrollToIndex(index_scroll) { let slider = this.$refs.slider; let currentSlide = slider.querySelector('[data-slide="' + index_scroll + '"]'); if (currentSlide) { let sliderWidth = slider.offsetWidth; let currentSlidePosition = currentSlide.offsetLeft; let currentSlideWidth = currentSlide.offsetWidth; let centerPosition = currentSlidePosition + currentSlideWidth / 2 - slider
{{#tags}}- {{label}}
{{/tags}}