diff -r 322d0feea350 -r 89ef5ed3c48b src/cm/media/js/lib/yui/yui_3.10.3/api/modules/io.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.10.3/api/modules/io.html Tue Jul 16 14:29:46 2013 +0200 @@ -0,0 +1,1668 @@ + + + + + io - YUI 3 + + + + + + + + +
+
+
+ +

+ +
+
+ API Docs for: 3.10.3 +
+
+
+ +
+ +
+
+
+ Show: + + + + + + + +
+ + +
+
+
+

io Module

+
+ + + User Guide & Examples + + + + + + +
+ Defined in: io/js/io-base.js:18 +
+ + + +
+ + + +
+

The IO class is a utility that brokers HTTP requests through a simplified +interface. Specifically, it allows JavaScript to make HTTP requests to +a resource without a page reload. The underlying transport for making +same-domain requests is the XMLHttpRequest object. IO can also use +Flash, if specified as a transport, for cross-domain requests.

+ +
Y.io('/some/url', {
+    on: {
+        success: function(id, e) {
+            Y.log(e.responseText);
+        }
+    }
+});
+
+
+ + + +
+
+ +

This module provides the following classes:

+ + + +
+ +
+ +

This module is a rollup of the following modules:

+ +
    + +
  • + + io-base + + +
    + Base IO functionality. Provides basic XHR transport support. +
    +
  • + +
  • + + io-form + + +
    + Extends IO to enable HTML form data serialization, when specified +in the transaction's configuration object. +
    +
  • + +
  • + + io-queue + + +
    + Extends IO to implement Queue for synchronous +transaction processing. +
    +
  • + +
  • + + io-upload-iframe + + +
    + Extends the IO to enable file uploads, with HTML forms +using an iframe as the transport medium. +
    +
  • + +
  • + + io-xdr + + +
    + Extends IO to provide an alternate, Flash transport, for making +cross-domain requests. +
    +
  • + +
+ +
+
+ +
+
+
+
+
+
+ + + + + + + + + +