trait JQueryXHR extends XMLHttpRequest with JQueryDeferred
- Annotations
- @RawJSType() @native()
- Alphabetic
- By Inheritance
- JQueryXHR
- JQueryDeferred
- JQueryPromise
- XMLHttpRequest
- EventTarget
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def abort(): Unit
- Definition Classes
- XMLHttpRequest
- def addEventListener[T <: Event](type: String, listener: Function1[T, _], options: EventListenerOptions): Unit
- Definition Classes
- EventTarget
- def addEventListener[T <: Event](type: String, listener: Function1[T, _], useCapture: Boolean): Unit
- Definition Classes
- EventTarget
- def always(handler: Function3[Any, String, |[JQueryXHR, String], Any]): JQueryXHR
- def always(alwaysCallbacks: Function*): JQueryDeferred
Add handlers to be called when the Deferred object is either resolved or rejected.
Add handlers to be called when the Deferred object is either resolved or rejected.
- Definition Classes
- JQueryPromise
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def create(): XMLHttpRequest
- Definition Classes
- XMLHttpRequest
- def dispatchEvent(evt: Event): Boolean
- Definition Classes
- EventTarget
- def done(handler: Function3[Any, String, JQueryXHR, Any]): JQueryXHR
- def done(doneCallbacks: Function*): JQueryDeferred
Add handlers to be called when the Deferred object is resolved.
Add handlers to be called when the Deferred object is resolved.
- Definition Classes
- JQueryPromise
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fail(handler: Function3[JQueryXHR, String, String, Any]): JQueryXHR
- def fail(failCallbacks: Function*): JQueryDeferred
Add handlers to be called when the Deferred object is rejected.
Add handlers to be called when the Deferred object is rejected.
- Definition Classes
- JQueryPromise
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def getAllResponseHeaders(): String
- Definition Classes
- XMLHttpRequest
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getResponseHeader(header: String): String
- Definition Classes
- XMLHttpRequest
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def notify(args: Any*): JQueryDeferred
Call the progressCallbacks on a Deferred object with the given args.
Call the progressCallbacks on a Deferred object with the given args.
- Definition Classes
- JQueryDeferred
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def notifyWith(context: Object, args: Array[_]): JQueryDeferred
Call the progressCallbacks on a Deferred object with the given context and args.
Call the progressCallbacks on a Deferred object with the given context and args.
- Definition Classes
- JQueryDeferred
- var onabort: Function1[Any, _]
- Definition Classes
- XMLHttpRequest
- var onerror: Function1[ErrorEvent, _]
- Definition Classes
- XMLHttpRequest
- var onload: Function1[Event, _]
- Definition Classes
- XMLHttpRequest
- var onloadend: Function1[ProgressEvent, _]
- Definition Classes
- XMLHttpRequest
- var onloadstart: Function1[Any, _]
- Definition Classes
- XMLHttpRequest
- var onprogress: Function1[ProgressEvent, _]
- Definition Classes
- XMLHttpRequest
- var onreadystatechange: Function1[Event, _]
- Definition Classes
- XMLHttpRequest
- var ontimeout: Function1[Event, _]
- Definition Classes
- XMLHttpRequest
- def open(method: String, url: String, async: Boolean, user: String, password: String): Unit
- Definition Classes
- XMLHttpRequest
- def overrideMimeType(): Dynamic
- def progress(progressCallbacks: Function*): JQueryDeferred
Add handlers to be called when the Deferred object generates progress notifications.
Add handlers to be called when the Deferred object generates progress notifications.
Each parameter can be either a Function *or* an Array of Functions.
- Definition Classes
- JQueryPromise
- def promise(target: UndefOr[Object]): JQueryPromise
Return a Deferred's Promise object.
Return a Deferred's Promise object.
- Definition Classes
- JQueryPromise
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- def readyState: Int
- Definition Classes
- XMLHttpRequest
- def reject(args: Any*): JQueryDeferred
Reject a Deferred object and call any failCallbacks with the given args.
Reject a Deferred object and call any failCallbacks with the given args.
- Definition Classes
- JQueryDeferred
- def rejectWith(context: Object, args: Array[Any]): JQueryDeferred
Reject a Deferred object and call any failCallbacks with the given context and args.
Reject a Deferred object and call any failCallbacks with the given context and args.
- Definition Classes
- JQueryDeferred
- def removeEventListener[T <: Event](type: String, listener: Function1[T, _], options: EventListenerOptions): Unit
- Definition Classes
- EventTarget
- def removeEventListener[T <: Event](type: String, listener: Function1[T, _], useCapture: Boolean): Unit
- Definition Classes
- EventTarget
- def resolve(args: Any*): JQueryDeferred
Resolve a Deferred object and call any doneCallbacks with the given args.
Resolve a Deferred object and call any doneCallbacks with the given args.
- Definition Classes
- JQueryDeferred
- def resolveWith(context: Object, args: Array[Any]): JQueryDeferred
Resolve a Deferred object and call any doneCallbacks with the given context and args.
Resolve a Deferred object and call any doneCallbacks with the given context and args.
- Definition Classes
- JQueryDeferred
- def response: Any
- Definition Classes
- XMLHttpRequest
- def responseText: String
- Definition Classes
- XMLHttpRequest
- var responseType: String
- Definition Classes
- XMLHttpRequest
- def responseURL: UndefOr[String]
- Definition Classes
- XMLHttpRequest
- def responseXML: Document
- Definition Classes
- XMLHttpRequest
- def send(data: Any): Unit
- Definition Classes
- XMLHttpRequest
- def setRequestHeader(header: String, value: String): Unit
- Definition Classes
- XMLHttpRequest
- def state(): String
Determine the current state of a Deferred object.
Determine the current state of a Deferred object.
- Definition Classes
- JQueryPromise
- def status: Int
- Definition Classes
- XMLHttpRequest
- def statusText: String
- Definition Classes
- XMLHttpRequest
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def then(doneCallback: Function3[Any, String, JQueryXHR, Any], failCallback: Function3[JQueryXHR, String, String, Any]): JQueryXHR
- def then(doneFilter: Function1[Any, Any], failFilter: UndefOr[Function1[Any, Any]] = js.undefined, progressFilter: UndefOr[Function1[Any, Any]] = js.undefined): JQueryPromise
Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.
Add handlers to be called when the Deferred object is resolved, rejected, or still in progress.
- Definition Classes
- JQueryPromise
- var timeout: Double
- Definition Classes
- XMLHttpRequest
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- var upload: XMLHttpRequestEventTarget
- Definition Classes
- XMLHttpRequest
- def valueOf(): Any
- Definition Classes
- Object
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- var withCredentials: Boolean
- Definition Classes
- XMLHttpRequest