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

where can I find event object's properties?

1 Answer 551 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Layton Fujii
Top achievements
Rank 1
Layton Fujii asked on 04 Oct 2017, 01:56 PM

Do you have a document describing all of event object's properties?

For example for the upload event, I find this in your example:

function onUpload(e) { e.sender.options.async.saveUrl = "save?id" + 1;}

But how do I know that e has a property called sender?

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 06 Oct 2017, 06:59 AM
Hello Layton,

Each Kendo UI widget passes one argument to the event handler, which is the so called "event object". Usually, it has one or more fields containing information that is specific to the event. All event objects have a sender field, which provides a reference to the widget instance that triggered the event.

Additional information can be found in the below documentation:


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.
Tags
Upload
Asked by
Layton Fujii
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or