dist/collection/components/virtual-scroll/virtual-scroll.js
//scroll to element method at index
scroll to element method at index
scroll to element method at index
scrollToNode(index, speed, offset = 0) {
        if (this.parentScroll) {
            if (index <= this.listDimensions.length - 1) {
                let dimension = this.listDimensions.filter(f => f.rindex == index)[0];
                this._scrollTo(dimension.start + offset, speed);
            }
            else {
                this._scrollToIndex(index);
            }
        }
    }
scrollToNode ( index , speed , offset = 0 ) { if ( this . parentScroll ) { if ( index <= this . listDimensions . length - 1 ) { let dimension = this . listDimensions . filter ( f => f . rindex == index ) [ 0 ] ; this . _scrollTo ( dimension . start + offset , speed ) ; } else { this . _scrollToIndex ( index ) ; } } }
scroll to element method at index
scroll to element method at index