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

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

Issue 1162563004: Upgrade to 1.0 and switch clients to dom-repeat where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a layout import and remove the gzipped webanimation in reproduce.sh 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
(Empty)
1 iron-ajax
2 =========
3
4 The `iron-ajax` element exposes network request functionality.
5
6 ```html
7 <iron-ajax
8 auto
9 url="http://gdata.youtube.com/feeds/api/videos/"
10 params='{"alt":"json", "q":"chrome"}'
11 handle-as="json"
12 on-response="handleResponse"></iron-ajax>
13 ```
14
15 With `auto` set to `true`, the element performs a request whenever
16 its `url`, `params` or `body` properties are changed. Automatically generated
17 requests will be debounced in the case that multiple attributes are changed
18 sequentially.
19
20 Note: The `params` attribute must be double quoted JSON.
21
22 You can trigger a request explicitly by calling `generateRequest` on the
23 element.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698