angular disable animation

3 posts, 1 answers
  1. Scott Waye
    Scott Waye avatar
    153 posts
    Member since:
    Nov 2009

    Posted 02 Jan Link to this post

    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. Answer
    Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    625 posts

    Posted 03 Jan Link to this post

    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.
  3. Scott Waye
    Scott Waye avatar
    153 posts
    Member since:
    Nov 2009

    Posted 03 Jan in reply to Dimiter Topalov Link to this post

    Thanks, I got confused about when it needs the extra quote
Back to Top