src/store/store.js
/**
   * Highlight messages of streamer
   *
   * @param {any} streamer
   * @memberof Store
   */
Highlight messages of streamer
@param {any} streamer
@memberof Store
Highlight messages of streamer @param { any } streamer @memberof Store
@action
  toggleHighlight(streamer) {
    if (this.highlight) {
      for (const [k, v] of Object.entries(this.channelsSheet.classes)) {
        streamer === k
          ? this.setOpacityRule(k, 1)
          : this.setOpacityRule(k, 0.5);
      }
    } else {
      for (const [k, v] of Object.entries(this.channelsSheet.classes)) {
        this.setOpacityRule(k, 1);
      }
    }
  }
@ action toggleHighlight ( streamer ) { if ( this . highlight ) { for ( const [ k , v ] of Object . entries ( this . channelsSheet . classes ) ) { streamer === k ? this . setOpacityRule ( k , 1 ) : this . setOpacityRule ( k , 0.5 ) ; } } else { for ( const [ k , v ] of Object . entries ( this . channelsSheet . classes ) ) { this . setOpacityRule ( k , 1 ) ; } } }
Highlight messages of streamer
 @param {any} streamer
 @memberof Store
Highlight messages of streamer @param { any } streamer @memberof Store