Improves calendar navigation animation
Replaces the setTimeout-based animation with the Web Animations API for smoother transitions. This change also introduces an event to notify other managers when the navigation animation is complete, allowing them to synchronize their states.
This commit is contained in:
parent
b03707853a
commit
afe5b6b899
3 changed files with 57 additions and 39 deletions
|
|
@ -25,6 +25,7 @@ export const EventTypes = {
|
|||
WEEK_CHANGED: 'calendar:weekchanged',
|
||||
WEEK_INFO_UPDATED: 'calendar:weekinfoupdated',
|
||||
WEEK_CONTENT_RENDERED: 'calendar:weekcontentrendered',
|
||||
NAVIGATION_ANIMATION_COMPLETE: 'calendar:navigationanimationcomplete',
|
||||
NAV_PREV: 'calendar:navprev',
|
||||
NAV_NEXT: 'calendar:navnext',
|
||||
NAV_TODAY: 'calendar:navtoday',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue