Page 1 of 1
[ANGULAR] Event Animations -Enable/Disable Programmatically.
Posted: Wed Feb 08, 2023 10:22 am
by tomerPlanit
Is it possible to change the event animations to enable or disable programmatically(by condition if enable the event animation or not).
After read the documentation I found it only in the scheduler config, but how to change it buy condition before make changes in the store?
Re: [ANGULAR] Event Animations -Enable/Disable Programmatically.
Posted: Wed Feb 08, 2023 11:35 am
by tasnim
Re: [ANGULAR] Event Animations -Enable/Disable Programmatically.
Posted: Wed Feb 08, 2023 12:09 pm
by tomerPlanit
I tried to do it but get type error:
- 1.png (12.98 KiB) Viewed 257 times
After check the type I found that no such parameter:
- 2.png (69.04 KiB) Viewed 257 times
It is only type bug?
Re: [ANGULAR] Event Animations -Enable/Disable Programmatically.
Posted: Wed Feb 08, 2023 12:58 pm
by tasnim
Yes. This is a typings bug only. I've opened a ticket to fix that. Here it is https://github.com/bryntum/support/issues/6131
For now, you could use @ts-ignore
to ignore that warning
// @ts-ignore
this.scheduler.enableEventAnimations = false;