global disable animations

5 posts, 1 answers
  1. Denis
    Denis avatar
    9 posts
    Member since:
    Jun 2012

    Posted 20 Jun 2012 Link to this post

    Hello! I want to global disable animation (dropdown/combobox sliding, window popup fading and so on).
    How I can do it with minimum code? Is KendoUI have global flag for this?

    Thanks alot! You made a beautiful framework with amazing cross-platform capabilities! :)
  2. Answer
    Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 21 Jun 2012 Link to this post

    Hi Denis,

    If you don't load the FX javascript file (kendo.fx.min.js), the animations will be automatically disabled.

    Kind regards,
    Kamen Bundev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Kasey
    Kasey avatar
    9 posts
    Member since:
    Apr 2012

    Posted 12 Dec 2012 Link to this post

    Is there a way to disable animations if you are loading kendo.web.min.js? For instance, could I just set kendo.fx to undefined? I'd like to disable them only for IE <9. I'm using a lot of the framework, and it doesn't make sense to load all the other files individually.
  5. Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 18 Dec 2012 Link to this post

    Hello,

    I am afraid that such approach would not work, as the design of our framework relies on kendo.fx having simpler implementation (present in kendo.core) and a more complex one that handles the animations (in kendo.fx). 

    Something which I may suggest is to set the animation duration to zero, in certain cases (IE, for example). 

    All the best,
    Petyo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  6. Kasey
    Kasey avatar
    9 posts
    Member since:
    Apr 2012

    Posted 18 Dec 2012 Link to this post

    I ended up just getting a custom download of Kendo Web without the animation. Then I used conditional comments to include the full version or no-animation version depending on IE version. I don't really like this, but it works.

    What I'd like is something like jQuery does:

    $.fx.off = true; // globally disable jQuery animations
Back to Top
Kendo UI is VS 2017 Ready