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

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

Issue 1158973006: Rolling forward https://codereview.chromium.org/1155683008/ which was (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed one commit from the old cl 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

Powered by Google App Engine
This is Rietveld 408576698