animate-presence
Advanced tools
Changelog
0.2.1 (2020-02-29)
createPresenceHandler
to allow fine-grained imperative animation control (45adcb9)exitComplete
event to animatePresenceExitComplete
(e968688)animation-fill-mode
to both
. (5101fbd)element.getAnimations()
method to custom implementation (cbd9cca)exitComplete
has been renamed animatePresenceExitComplete
in order to match new animatePresenceEnter
and animatePresenceExit
eventsanimation-fill-mode
now defaults to both
for children of animate-presence. This eliminates the need for style resets using [data-initial]
, but the rule has a high specificity (021
) in order to allow users to use the animation
shorthand syntax without specifying an animation-fill-mode
.Note: The
animation
shorthand defaultsanimation-fill-mode
tonone
if not specified. If you need to override theanimation-fill-mode
, you will need to increase the specicity of your selector to be higher than021
.