Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(829)

Side by Side Diff: third_party/polymer/v1_0/components/iron-ajax/README.md

Issue 1155683008: Rename polymer and cr_elements v0_8 to v1_0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v1
Patch Set: fix a merge mistake Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 iron-ajax 1 iron-ajax
2 ========= 2 =========
3 3
4 The `iron-ajax` element exposes network request functionality. 4 The `iron-ajax` element exposes network request functionality.
5 5
6 ```html 6 ```html
7 <iron-ajax 7 <iron-ajax
8 auto 8 auto
9 url="http://gdata.youtube.com/feeds/api/videos/" 9 url="http://gdata.youtube.com/feeds/api/videos/"
10 params='{"alt":"json", "q":"chrome"}' 10 params='{"alt":"json", "q":"chrome"}'
11 handle-as="json" 11 handle-as="json"
12 on-response="handleResponse"></iron-ajax> 12 on-response="handleResponse"></iron-ajax>
13 ``` 13 ```
14 14
15 With `auto` set to `true`, the element performs a request whenever 15 With `auto` set to `true`, the element performs a request whenever
16 its `url`, `params` or `body` properties are changed. Automatically generated 16 its `url`, `params` or `body` properties are changed. Automatically generated
17 requests will be debounced in the case that multiple attributes are changed 17 requests will be debounced in the case that multiple attributes are changed
18 sequentially. 18 sequentially.
19 19
20 Note: The `params` attribute must be double quoted JSON. 20 Note: The `params` attribute must be double quoted JSON.
21 21
22 You can trigger a request explicitly by calling `generateRequest` on the 22 You can trigger a request explicitly by calling `generateRequest` on the
23 element. 23 element.
OLDNEW
« no previous file with comments | « third_party/polymer/v1_0/components/iron-ajax/.gitignore ('k') | third_party/polymer/v1_0/components/iron-ajax/bower.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698