Lines Matching refs:event

76         * @param {Event} event The event object received from the XMLHTTPRequest.
79 _uploadEventHandler: function (event) {
80 switch (event.type) {
85 * @event uploadprogress
86 * @param event {Event} The event object for the `uploadprogress` with the
90 * <dd>The original event fired by the XMLHttpRequest instance.</dd>
99 this.fire("uploadprogress", {originEvent: event,
100 bytesLoaded: event.loaded,
102 percentLoaded: Math.min(100, Math.round(10000*event.loaded/this.get("size"))/100)
104 this._set("bytesUploaded", event.loaded);
111 * @event uploadcomplete
112 * @param event {Event} The event object for the `uploadcomplete` with the
116 * <dd>The original event fired by the XMLHttpRequest instance.</dd>
121 this.fire("uploadcomplete", {originEvent: event,
122 data: event.target.responseText});
141 * @event uploaderror
142 * @param event {Event} The event object for the `uploaderror` with the
146 * <dd>The original event fired by the XMLHttpRequest instance.</dd>
150 * <dd>The text of the error event reported by the XMLHttpRequest instance</dd>
153 this.fire("uploaderror", {originEvent: event,
163 * @event uploadcancel
164 * @param event {Event} The event object for the `uploadcancel` with the
168 * <dd>The original event fired by the XMLHttpRequest instance.</dd>
171 this.fire("uploadcancel", {originEvent: event});
177 * Signals that XMLHttpRequest has fired a readystatechange event.
179 * @event readystatechange
180 * @param event {Event} The event object for the `readystatechange` with the
186 * <dd>The original event fired by the XMLHttpRequest instance.</dd>
189 this.fire("readystatechange", {readyState: event.target.readyState,
190 originEvent: event});
233 * @event uploadstart
234 * @param event {Event} The event object for the `uploadstart` with the
404 * The bound event handler used to handle events from XMLHttpRequest.