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

angular disable animation

2 Answers 77 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Scott Waye
Top achievements
Rank 1
Veteran
Scott Waye asked on 02 Jan 2017, 10:35 PM

Hi,

Setting animation false breaks the tab strip.  See http://dojo.telerik.com/OCaye

 

Also is there a way to disable animation for the tab strip as the default?

 

Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimiter Topalov
Telerik team
answered on 03 Jan 2017, 11:30 AM
Hello Scott,

The observed error is caused by the fact that the boolean value is not provided as is, but as a string, and the string 'false' is evaluated to true as a boolean value. Then a JavaScript error occurs, as no configuration properties for the animation are found.

You can omit the inner pair of quotes, and the Tabstrip's animations will be disabled as expected:

http://dojo.telerik.com/OCaye/2

Alternatively, you can override the default animations option value via the TabStrip's prototype:

http://dojo.telerik.com/OCaye/3

I hope this helps.

Regards,
Dimiter Topalov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Scott Waye
Top achievements
Rank 1
Veteran
answered on 03 Jan 2017, 03:01 PM
Thanks, I got confused about when it needs the extra quote
Tags
TabStrip
Asked by
Scott Waye
Top achievements
Rank 1
Veteran
Answers by
Dimiter Topalov
Telerik team
Scott Waye
Top achievements
Rank 1
Veteran
Share this question
or