I want every of my kendo dialog to open and close with the same animation. Is there a way to define it in a single place, instead of adding the configuration on every single dialog ?
Many thanks,
Valentin
1 Answer, 1 is accepted
0
Accepted
Petar
Telerik team
answered on 23 Feb 2021, 11:34 AM
Hi Valentin,
What you can do is to define the animation configuration for all the Dialogs in a variable that is accessible globally in your application.
Then you can use this configuration as it is demonstrated in this Dojo example. In this Dojo, there is the following definition:
The above is passed to the animation configuration of the two Dialogs available in the linked project.
I hope the suggested approach will help you implement what you need in your application.
Regards,
Petar
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.