| Index: pkg/polymer/lib/elements/polymer-ajax/docs.json
|
| diff --git a/pkg/polymer/lib/elements/polymer-ajax/docs.json b/pkg/polymer/lib/elements/polymer-ajax/docs.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bb7b3e68cdc0b48b1e44c76a091be91d599d6214
|
| --- /dev/null
|
| +++ b/pkg/polymer/lib/elements/polymer-ajax/docs.json
|
| @@ -0,0 +1,245 @@
|
| +{
|
| + "project": {
|
| + "name": "Docs",
|
| + "description": "Docs"
|
| + },
|
| + "files": {
|
| + "..\\..\\polymer-ajax\\polymer-ajax.html": {
|
| + "name": "..\\..\\polymer-ajax\\polymer-ajax.html",
|
| + "modules": {
|
| + "Polymer Elements": 1
|
| + },
|
| + "classes": {
|
| + "polymer-ajax": 1
|
| + },
|
| + "fors": {},
|
| + "namespaces": {}
|
| + },
|
| + "..\\..\\polymer-ajax\\polymer-xhr.html": {
|
| + "name": "..\\..\\polymer-ajax\\polymer-xhr.html",
|
| + "modules": {},
|
| + "classes": {
|
| + "polymer-xhr": 1
|
| + },
|
| + "fors": {},
|
| + "namespaces": {}
|
| + }
|
| + },
|
| + "modules": {
|
| + "Polymer Elements": {
|
| + "name": "Polymer Elements",
|
| + "submodules": {},
|
| + "classes": {
|
| + "polymer-ajax": 1,
|
| + "polymer-xhr": 1
|
| + },
|
| + "fors": {},
|
| + "namespaces": {},
|
| + "tag": "module",
|
| + "file": "..\\..\\polymer-ajax\\polymer-xhr.html",
|
| + "line": 10
|
| + }
|
| + },
|
| + "classes": {
|
| + "polymer-ajax": {
|
| + "name": "polymer-ajax",
|
| + "shortname": "polymer-ajax",
|
| + "classitems": [],
|
| + "plugins": [],
|
| + "extensions": [],
|
| + "plugin_for": [],
|
| + "extension_for": [],
|
| + "module": "Polymer Elements",
|
| + "namespace": "",
|
| + "file": "..\\..\\polymer-ajax\\polymer-ajax.html",
|
| + "line": 10,
|
| + "description": "polymer-ajax can be used to perform XMLHttpRequests.\n\nExample:\n\n <polymer-ajax auto url=\"http://gdata.youtube.com/feeds/api/videos/\" \n params='{\"alt\":\"json\", \"q\":\"chrome\"}'\n handleAs=\"json\"\n on-polymer-response=\"{{handleResponse}}\">\n </polymer-ajax>"
|
| + },
|
| + "polymer-xhr": {
|
| + "name": "polymer-xhr",
|
| + "shortname": "polymer-xhr",
|
| + "classitems": [],
|
| + "plugins": [],
|
| + "extensions": [],
|
| + "plugin_for": [],
|
| + "extension_for": [],
|
| + "module": "Polymer Elements",
|
| + "namespace": "",
|
| + "file": "..\\..\\polymer-ajax\\polymer-xhr.html",
|
| + "line": 10,
|
| + "description": "polymer-xhr can be used to perform XMLHttpRequests.\n\nExample:\n\n <polymer-xhr id=\"xhr\"></polymer-xhr>\n ...\n this.$.xhr.request({url: url, params: params, callback: callback});"
|
| + }
|
| + },
|
| + "classitems": [
|
| + {
|
| + "file": "..\\..\\polymer-ajax\\polymer-ajax.html",
|
| + "line": 23,
|
| + "description": "Fired when a response is received.",
|
| + "itemtype": "event",
|
| + "name": "polymer-response",
|
| + "class": "polymer-ajax",
|
| + "module": "Polymer Elements"
|
| + },
|
| + {
|
| + "file": "..\\..\\polymer-ajax\\polymer-ajax.html",
|
| + "line": 28,
|
| + "description": "Fired when an error is received.",
|
| + "itemtype": "event",
|
| + "name": "polymer-error",
|
| + "class": "polymer-ajax",
|
| + "module": "Polymer Elements"
|
| + },
|
| + {
|
| + "file": "..\\..\\polymer-ajax\\polymer-ajax.html",
|
| + "line": 33,
|
| + "description": "Fired whenever a response or an error is received.",
|
| + "itemtype": "event",
|
| + "name": "polymer-complete",
|
| + "class": "polymer-ajax",
|
| + "module": "Polymer Elements"
|
| + },
|
| + {
|
| + "file": "..\\..\\polymer-ajax\\polymer-ajax.html",
|
| + "line": 45,
|
| + "description": "The URL target of the request.",
|
| + "itemtype": "attribute",
|
| + "name": "url",
|
| + "type": "string",
|
| + "default": "''",
|
| + "class": "polymer-ajax",
|
| + "module": "Polymer Elements"
|
| + },
|
| + {
|
| + "file": "..\\..\\polymer-ajax\\polymer-ajax.html",
|
| + "line": 53,
|
| + "description": "Specifies what data to store in the 'response' property, and\nto deliver as 'event.response' in 'response' events.\n\nOne of:\n\n `text`: uses XHR.responseText\n \n `xml`: uses XHR.responseXML\n \n `json`: uses XHR.responseText parsed as JSON",
|
| + "itemtype": "attribute",
|
| + "name": "handleAs",
|
| + "type": "string",
|
| + "default": "'text'",
|
| + "class": "polymer-ajax",
|
| + "module": "Polymer Elements"
|
| + },
|
| + {
|
| + "file": "..\\..\\polymer-ajax\\polymer-ajax.html",
|
| + "line": 70,
|
| + "description": "If true, automatically performs an Ajax request when either url or params has changed.",
|
| + "itemtype": "attribute",
|
| + "name": "auto",
|
| + "type": "boolean",
|
| + "default": "false",
|
| + "class": "polymer-ajax",
|
| + "module": "Polymer Elements"
|
| + },
|
| + {
|
| + "file": "..\\..\\polymer-ajax\\polymer-ajax.html",
|
| + "line": 78,
|
| + "description": "Parameters to send to the specified URL, as JSON.",
|
| + "itemtype": "attribute",
|
| + "name": "params",
|
| + "type": "string (JSON)",
|
| + "default": "''",
|
| + "class": "polymer-ajax",
|
| + "module": "Polymer Elements"
|
| + },
|
| + {
|
| + "file": "..\\..\\polymer-ajax\\polymer-ajax.html",
|
| + "line": 86,
|
| + "description": "Returns the response object.",
|
| + "itemtype": "attribute",
|
| + "name": "response",
|
| + "type": "Object",
|
| + "default": "null",
|
| + "class": "polymer-ajax",
|
| + "module": "Polymer Elements"
|
| + },
|
| + {
|
| + "file": "..\\..\\polymer-ajax\\polymer-ajax.html",
|
| + "line": 94,
|
| + "description": "The HTTP method to use such as 'GET', 'POST', 'PUT', 'DELETE'.\nDefault is 'GET'.",
|
| + "itemtype": "attribute",
|
| + "name": "method",
|
| + "type": "string",
|
| + "default": "''",
|
| + "class": "polymer-ajax",
|
| + "module": "Polymer Elements"
|
| + },
|
| + {
|
| + "file": "..\\..\\polymer-ajax\\polymer-ajax.html",
|
| + "line": 172,
|
| + "description": "Performs an Ajax request to the url specified.",
|
| + "itemtype": "method",
|
| + "name": "go",
|
| + "class": "polymer-ajax",
|
| + "module": "Polymer Elements"
|
| + },
|
| + {
|
| + "file": "..\\..\\polymer-ajax\\polymer-xhr.html",
|
| + "line": 59,
|
| + "description": "Sends a HTTP request to the server and returns the XHR object.",
|
| + "itemtype": "method",
|
| + "name": "request",
|
| + "params": [
|
| + {
|
| + "name": "inOptions",
|
| + "description": "",
|
| + "type": "Object",
|
| + "props": [
|
| + {
|
| + "name": "url",
|
| + "description": "The url to which the request is sent.",
|
| + "type": "String"
|
| + },
|
| + {
|
| + "name": "method",
|
| + "description": "The HTTP method to use, default is GET.",
|
| + "type": "String"
|
| + },
|
| + {
|
| + "name": "sync",
|
| + "description": "By default, all requests are sent asynchronously.\n To send synchronous requests, set to true.",
|
| + "type": "Boolean"
|
| + },
|
| + {
|
| + "name": "params",
|
| + "description": "Data to be sent to the server.",
|
| + "type": "Object"
|
| + },
|
| + {
|
| + "name": "body",
|
| + "description": "The content for the request body for POST method.",
|
| + "type": "Object"
|
| + },
|
| + {
|
| + "name": "headers",
|
| + "description": "HTTP request headers.",
|
| + "type": "Object"
|
| + },
|
| + {
|
| + "name": "responseType",
|
| + "description": "The response type. Default is 'text'.",
|
| + "type": "String"
|
| + },
|
| + {
|
| + "name": "callback",
|
| + "description": "Called when request is completed.",
|
| + "type": "Object"
|
| + }
|
| + ]
|
| + }
|
| + ],
|
| + "return": {
|
| + "description": "XHR object.",
|
| + "type": "Object"
|
| + },
|
| + "class": "polymer-xhr",
|
| + "module": "Polymer Elements"
|
| + }
|
| + ],
|
| + "warnings": [
|
| + {
|
| + "message": "replacing incorrect tag: returns with return",
|
| + "line": " ..\\..\\polymer-ajax\\polymer-xhr.html:59"
|
| + }
|
| + ]
|
| +}
|
|
|