AnimationManager$Typings extension
Properties
-
activeAnimations
↔ Set<
Animation> -
Available on AnimationManager, provided by the AnimationManager$Typings extension
Gets the set of currently animating Animations being managed by this AnimationManager, including any running #defaultAnimation.getter/setter pair - defaultAnimation ↔ Animation
-
Available on AnimationManager, provided by the AnimationManager$Typings extension
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.getter/setter pair - duration ↔ num
-
Available on AnimationManager, provided by the AnimationManager$Typings extension
Gets or sets the default duration, in milliseconds, used as the duration for the #defaultAnimation and for animations that have their Animation#duration set toNaN
.getter/setter pair - initialAnimationStyle ↔ EnumValue
-
Available on AnimationManager, provided by the AnimationManager$Typings extension
Gets or sets the initial animation style that is set up by the #defaultAnimation. This can be AnimationManager.Default, AnimationManager.AnimateLocations, or AnimationManager.None.getter/setter pair - isAnimating ↔ bool
-
Available on AnimationManager, provided by the AnimationManager$Typings extension
This read-only property is true when the animation manager is currently animating any animation, including the #defaultAnimation.getter/setter pair - isEnabled ↔ bool
-
Available on AnimationManager, provided by the AnimationManager$Typings extension
Gets or sets whether this AnimationManager operates.getter/setter pair - isInitial ↔ bool
-
Available on AnimationManager, provided by the AnimationManager$Typings extension
Gets or sets whether a default animation is performed on an initial layout.getter/setter pair - isTicking ↔ bool
-
Available on AnimationManager, provided by the AnimationManager$Typings extension
This read-only property is true when the animation manager is in the middle of an animation tick. Animation only operates on GraphObjects during ticks, but code outside of AnimationManager's control may execute between ticks.getter/setter pair
Methods
-
canStart(
String reason) → bool -
Available on AnimationManager, provided by the AnimationManager$Typings extension
This method is passed the reason a default animation is to begin, and must return true or false based on whether or not the animation is to be allowed. Returning true means the animation will occur, returning false will stop the animation's setup. -
stopAnimation(
[bool? stopsAllAnimations]) → void -
Available on AnimationManager, provided by the AnimationManager$Typings extension
Stops the #defaultAnimation and updates the Diagram to its final state.