This is a migrated thread and some comments may be shown as answers.

Window - missing documentation about "sender"

2 Answers 213 Views
Window
This is a migrated thread and some comments may be shown as answers.
Curt Rabon
Top achievements
Rank 1
Veteran
Curt Rabon asked on 19 Jul 2017, 07:47 PM

The doc at: http://docs.telerik.com/kendo-ui/api/javascript/ui/window#events-close

for the close event, does not mention that the argument passed to the function will have a "sender" property, which is the kendoWindow object reference.

2 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 20 Jul 2017, 07:22 AM
Hello Curt,

You can find more information and examples about the event arguments in the following Widget Methods and Events documentation.

Basically, all Kendo UI widgets pass the event object to the event handler, which contains event specific fileds. Also, all event objects have a sender field, which provides a reference to the widget instance that triggered the event.

For a more detailed list of the widget events and fields, which are available in the event object, you can refer to the kendo API reference section.

Regards,
Dimitar
Progress Telerik
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.
0
Curt Rabon
Top achievements
Rank 1
Veteran
answered on 20 Jul 2017, 02:02 PM
Thanks for pointing me to the "Widget Basics" section of the documentation, that helps.
Tags
Window
Asked by
Curt Rabon
Top achievements
Rank 1
Veteran
Answers by
Dimitar
Telerik team
Curt Rabon
Top achievements
Rank 1
Veteran
Share this question
or