Is there any way to trace the resize event is completed?

  • Hi Kluas,

    I want to do show/hide some controls once resize event will be completed or user stop the resizing the window from corner of the window.

    How can I trace the resize event is completed or nor? Is there an any event like "onresizecompleted" in KRPano?

    How can I achieve this?

    Please help?

    --
    Thanks
    pratiks

  • Hi,

    what do you mean with completed?

    when the users stops dragging the window or browser border?
    that's not detectable...

    you could maybe delayed the real onresize code call and check if the sizes are still changing and do that your real onresize code only when the sizes between the onresize event and your delayedcall kept the same...

    but why that?
    e.g. in some operation systems the 'window maximize' is also animated and will also call constantly onresize events, it's not possible to differ that from user resize changes...

    best regards,
    Klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!