Lines Matching refs:event

78         * @param {Event} event The event object received from the XMLHTTPRequest.
81 _uploadEventHandler: function (event) {
82 switch (event.type) {
87 * @event uploadprogress
88 * @param event {Event} The event object for the `uploadprogress` with the
92 * <dd>The original event fired by the XMLHttpRequest instance.</dd>
101 this.fire("uploadprogress", {originEvent: event,
102 bytesLoaded: event.loaded,
104 percentLoaded: Math.min(100, Math.round(10000*event.loaded/this.get("size"))/100)
106 this._set("bytesUploaded", event.loaded);
113 * @event uploadcomplete
114 * @param event {Event} The event object for the `uploadcomplete` with the
118 * <dd>The original event fired by the XMLHttpRequest instance.</dd>
123 this.fire("uploadcomplete", {originEvent: event,
124 data: event.target.responseText});
143 * @event uploaderror
144 * @param event {Event} The event object for the `uploaderror` with the
148 * <dd>The original event fired by the XMLHttpRequest instance.</dd>
152 * <dd>The text of the error event reported by the XMLHttpRequest instance</dd>
155 this.fire("uploaderror", {originEvent: event,
165 * @event uploadcancel
166 * @param event {Event} The event object for the `uploadcancel` with the
170 * <dd>The original event fired by the XMLHttpRequest instance.</dd>
173 this.fire("uploadcancel", {originEvent: event});
179 * Signals that XMLHttpRequest has fired a readystatechange event.
181 * @event readystatechange
182 * @param event {Event} The event object for the `readystatechange` with the
188 * <dd>The original event fired by the XMLHttpRequest instance.</dd>
191 this.fire("readystatechange", {readyState: event.target.readyState,
192 originEvent: event});
235 * @event uploadstart
236 * @param event {Event} The event object for the `uploadstart` with the
406 * The bound event handler used to handle events from XMLHttpRequest.