public set currentItem()

in client/src/components/scroll-list/scroll-list.ts [73:83]


  public set currentItem(value: number) {
    if (value !== this._currentItem) {
      const firstValue = this._currentItem < 0;
      this._currentItem = value;
      this.currentItemChanged.emit(value);
      if(!this.dragInfo && !firstValue) {
        // not dragging and not the initial value - animate to this item
        this.scrollToItem(value);
      }
    }
  }