src/service/viewport/viewport-impl.js
/**
   * Send scroll message via the viewer per animation frame
   * @private
   */
Send scroll message via the viewer per animation frame
@private
Send scroll message via the viewer per animation frame @private
sendScrollMessage_() {
    if (!this.scrollAnimationFrameThrottled_) {
      this.scrollAnimationFrameThrottled_ = true;
      this.vsync_.measure(() => {
        this.scrollAnimationFrameThrottled_ = false;
        this.viewer_.sendMessage('scroll',
            dict({'scrollTop': this.getScrollTop()}),
            true);
      });
    }
  }
sendScrollMessage_ ( ) { if ( ! this . scrollAnimationFrameThrottled_ ) { this . scrollAnimationFrameThrottled_ = true ; this . vsync_ . measure ( ( ) => { this . scrollAnimationFrameThrottled_ = false ; this . viewer_ . sendMessage ( 'scroll' , dict ( { 'scrollTop' : this . getScrollTop ( ) } ) , true ) ; } ) ; } }
Send scroll message via the viewer per animation frame
 @private
Send scroll message via the viewer per animation frame @private
/* cancelUnsent */