npm animejs 4.1.3
v4.1.3

latest release: 4.2.0-beta.0
24 days ago

Improvements

Bug fixes

  • [Scroll] Fixes threshold with transforms on parent (#1059) @almirbi
  • [Targets, Text] Fix non-browser usage (#1056) @ClassicOldSong
  • [Draggable] Fix Draggable's onUpdate and onSettle callbacks not triggered when only updating the x axis (#1045)
  • [Draggable] Prevents error when removing the draggable container element from the DOM (#1064)
  • [Animatable] Fix callbacks triggered multiple times by setting the callbacks to a dedicated Animation instead of applying them to each individual property animations
  • [Animation] Fix tweens composition inconsistencies on tweens with composition: 'replace' not controlled by a Timeline
  • [Animation] Fix some time calculation inconsistencies when using seconds engine.timeUnit = 's' that affected tweens composition

Types

  • [WAAPI] Added missing WAAPIAnimation type to the Revertible type
  • [Stagger] The stagger() function return type is now inferred from the input value type
  • [Eases] Fix the error "A rest parameter must be of an array type." of the linear easing type (#972)
  • Export the following missing types (#1051, #1010):
    • SpringParams
    • TimelinePosition
    • TimelineAnimationPosition
    • WAAPITweenValue
    • WAAPIFunctionValue
    • WAAPIKeyframeValue
    • WAAPICallback
    • WAAPITweenOptions
    • WAAPIAnimationOptions
    • WAAPIAnimationParams
    • ScrollThresholdValue
    • ScrollThresholdParam
    • ScrollObserverAxisCallback
    • ScrollThresholdCallback
    • ScrollObserverParams

Don't miss a new animejs release

NewReleases is sending notifications on new releases.