This is a migrated thread and some comments may be shown as answers.

Global settings

1 Answer 33 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jacky
Top achievements
Rank 1
Jacky asked on 12 Sep 2018, 07:35 PM
Is it possible to configure components globally?  For example, I want to disable animation for dropdowns globally instead of doing it each time I use that component.

1 Answer, 1 is accepted

Sort by
0
Svet
Telerik team
answered on 14 Sep 2018, 11:16 AM
Hi Jacky,

I am afraid, that here is no such global configuration available.

However, for the purpose, we can create our own custom component, that wraps the desired DropDown component and by default sets its animation to be disabled. Then we can use this custom component (which wraps the Kendo Ui for Angular component) instead of the Kendo Ui for Angular one. Check the following example demonstrating this approach:
https://stackblitz.com/edit/angular-ry9tba?file=app/app.component.ts

I hope this helps.

Regards,
Svetlin
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
General Discussions
Asked by
Jacky
Top achievements
Rank 1
Answers by
Svet
Telerik team
Share this question
or