private getDataFromCurrent()

in components/js/virtualizedCollection.ts [157:167]


    private getDataFromCurrent(index: number): TData {
        if (this._bufferWindowBefore.contains(index)) {
            return this._bufferWindowBefore.getItem(index);
        } else if (this._bufferWindowAfter.contains(index)) {
            return this._bufferWindowAfter.getItem(index);
        } else if (this._window.contains(index)) {
            return this._window.getItem(index);
        }

        return this._placeHolderGenerator(index);
    }