Sha256: ab4bc2818cdd7eab506247f8fd8b11d859a3138ffdbcf3f4e2087591878aa6db

Contents?: true

Size: 656 Bytes

Versions: 6

Compression:

Stored size: 656 Bytes

Contents

iron-ajax
=========

The `iron-ajax` element exposes network request functionality.

```html
<iron-ajax
    auto
    url="http://gdata.youtube.com/feeds/api/videos/"
    params='{"alt":"json", "q":"chrome"}'
    handle-as="json"
    on-response="handleResponse"></iron-ajax>
```

With `auto` set to `true`, the element performs a request whenever
its `url`, `params` or `body` properties are changed. Automatically generated
requests will be debounced in the case that multiple attributes are changed
sequentially.

Note: The `params` attribute must be double quoted JSON.

You can trigger a request explicitly by calling `generateRequest` on the
element.

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
polymer-elements-rails-1.0.1 app/assets/components/iron-ajax/README.md
polymer-elements-rails-1.0.0 app/assets/components/iron-ajax/README.md
polymer-elements-rails-1.0.0.pre.rc.1 app/assets/components/iron-ajax/README.md
polymer-iron-rails-1.0.0.pre.rc.3 app/assets/components/iron-ajax/README.md
polymer-iron-rails-1.0.0.pre.rc.2 app/assets/components/iron-ajax/README.md
polymer-iron-rails-1.0.0.pre.rc.1 app/assets/components/iron-ajax/README.md