Minimize window on startup

2 posts, 0 answers
  1. Anthony
    Anthony avatar
    122 posts
    Member since:
    Jun 2013

    Posted 15 Jul 2015 Link to this post


      I've kind of got this working at the moment but badly, e.g.

       onActivate = (e: any) =>
             if (this.minimiseOnStartup)
                    setTimeout(this.Minimise, 1);

        Minimise = () =>
                var $kendoWindow = $(this.windowId);


    (this is typescript rather than javascript but I'm sure you get the point)

    So, in the onActivate call I call the minimize function (this is with the opening animation switched off). This means the windows first appear full size then shrink down. If you call minimize without the slight delay it doesn't work at all.


    - Is there a better way of doing this? I couldn't find a configuration option

    Failing that I'll have to look into hiding the window until the minimize has finished, but that feels like a hack



  2. Dimo
    Dimo avatar
    8322 posts

    Posted 16 Jul 2015 Link to this post

    Hello Anthony,

    The Window is not designed to be initially minimized, but I think the following behavior looks OK in terms of user experience:

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top