dist/pixi-graph.umd.js
/**
       * update viewport on each frame
       * by default, you do not need to call this unless you set options.noTicker=true
       * @param {number} elapsed time in milliseconds since last update
       */
update viewport on each frame
by default, you do not need to call this unless you set options.noTicker=true
@param {number} elapsed time in milliseconds since last update
update viewport on each frame by default you do not need to call this unless you set options . noTicker = true @param { number } elapsed time in milliseconds since last update
update(elapsed) {
          if (!this.pause) {
              this.plugins.update(elapsed);
              if (this.lastViewport) {
                  if (this.lastViewport.x !== this.x || this.lastViewport.y !== this.y) {
                      this.moving = true;
                  }
                  else {
                      if (this.moving) {
                          this.emit('moved-end', this);
                          this.moving = false;
                      }
                  }
                  if (this.lastViewport.scaleX !== this.scale.x || this.lastViewport.scaleY !== this.scale.y) {
                      this.zooming = true;
                  }
                  else {
                      if (this.zooming) {
                          this.emit('zoomed-end', this);
                          this.zooming = false;
                      }
                  }
              }
              if (!this.forceHitArea) {
                  this._hitAreaDefault = new PIXI.Rectangle(this.left, this.top, this.worldScreenWidth, this.worldScreenHeight);
                  this.hitArea = this._hitAreaDefault;
              }
              this._dirty = this._dirty || !this.lastViewport ||
                  this.lastViewport.x !== this.x || this.lastViewport.y !== this.y ||
                  this.lastViewport.scaleX !== this.scale.x || this.lastViewport.scaleY !== this.scale.y;
              this.lastViewport = {
                  x: this.x,
                  y: this.y,
                  scaleX: this.scale.x,
                  scaleY: this.scale.y
              };
              this.emit('frame-end', this);
          }
      }
update ( elapsed ) { if ( ! this . pause ) { this . plugins . update ( elapsed ) ; if ( this . lastViewport ) { if ( this . lastViewport . x !== this . x || this . lastViewport . y !== this . y ) { this . moving = true ; } else { if ( this . moving ) { this . emit ( 'moved-end' , this ) ; this . moving = false ; } } if ( this . lastViewport . scaleX !== this . scale . x || this . lastViewport . scaleY !== this . scale . y ) { this . zooming = true ; } else { if ( this . zooming ) { this . emit ( 'zoomed-end' , this ) ; this . zooming = false ; } } } if ( ! this . forceHitArea ) { this . _hitAreaDefault = new PIXI . Rectangle ( this . left , this . top , this . worldScreenWidth , this . worldScreenHeight ) ; this . hitArea = this . _hitAreaDefault ; } this . _dirty = this . _dirty || ! this . lastViewport || this . lastViewport . x !== this . x || this . lastViewport . y !== this . y || this . lastViewport . scaleX !== this . scale . x || this . lastViewport . scaleY !== this . scale . y ; this . lastViewport = { x : this . x , y : this . y , scaleX : this . scale . x , scaleY : this . scale . y } ; this . emit ( 'frame-end' , this ) ; } }
update viewport on each frame
 by default, you do not need to call this unless you set options.noTicker=true
 @param {number} elapsed time in milliseconds since last update
update viewport on each frame by default you do not need to call this unless you set options . noTicker = true @param { number } elapsed time in milliseconds since last update
// check for moved-end event
 // check for zoomed-end event
