public set selectedWordIndex()

in client/src/components/translation-selector/word-scroll-list.ts [94:102]


  public set selectedWordIndex(value: number) {
    if (value === this._selectedWordIndex) {
      return;
    }
    this._selectedWordIndex = value;
    const selectedWord = this._translations && value >= 0 ? this._translations[value] : null;
    this.selectedWordChanged.emit({index: value, word: selectedWord});
    this.updateTargetPosition();
  }