This is a migrated thread and some comments may be shown as answers.
Any chance of a Window Deactivate event?
2 Answers 36 Views
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 15 Oct 2011, 12:18 AM
The window has an open event that fires when the window is opened, but still animating.
The activate event is just after the animation.
The close event fires when the window is closed, but still animating.
There is no event that fires when the window is closed and done animating, for DOM removal or detachment.

Is there any chance we could get a Deactivate event as well to tie with the already existing activate event?  Something like the animation complete callback in the close function.

wrapper.kendoStop().kendoAnimate({
                    effects: hideOptions.effects,
                    duration: hideOptions.duration,
                    complete: function() {
                        wrapper.hide();
                        this.trigger(DEACTIVATE);
                    }
                });

2 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 19 Oct 2011, 03:41 PM
Hello David,

It seems reasonable to have a deactivate event, yes. I'll send you the updated build once it gets implemented.

Best wishes,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Alex Gyoshev
Telerik team
answered on 21 Oct 2011, 01:50 PM
Hi David,

Done. Attached are the modified scripts.

All the best,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Asked by
David
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or