Premium support for our pure JavaScript UI components


Post 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?


Post by tasnim »


Post by tomerPlanit »

I tried to do it but get type error:

1.png
1.png (12.98 KiB) Viewed 167 times

After check the type I found that no such parameter:

2.png
2.png (69.04 KiB) Viewed 167 times

It is only type bug?


Post 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;

Post Reply