defaultAnimation property

Animation get defaultAnimation

This read-only property gets the Animation that carries out the default built-in GoJS animations. This animation is usually only referenced to modify default animation properties, such as the Animation#easing or Animation#duration.

You should not add anything to or start the default animation, GoJS does so automatically, internally. When the default animation begins it raises the "AnimationStarting" Diagram event, upon completion it raises the "AnimationFinished" Diagram event. You should not modify the properties Animation#runCount or Animation#reversible on the default animation.

See the Introduction Page on Animations for more detail.

Implementation

_i3.Animation get defaultAnimation => _i4.getProperty(
      this,
      'defaultAnimation',
    );
set defaultAnimation (Animation value)

Implementation

set defaultAnimation(_i3.Animation value) {
  _i4.setProperty(
    this,
    'defaultAnimation',
    value,
  );
}