iron-ajax travis-ci Bower

Easily make ajax requests

3 years after

Build status

Demo and API docs

<iron-ajax>

The iron-ajax element exposes network request functionality.

<iron-ajax
    auto
    url="https://www.googleapis.com/youtube/v3/search"
    params='{"part":"snippet", "q":"polymer", "key": "YOUTUBE_API_KEY", "type": "video"}'
    handle-as="json"
    on-response="handleResponse"
    debounce-duration="300"></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.

<iron-request>

iron-request can be used to perform XMLHttpRequests.

<iron-request id="xhr"></iron-request>
...
this.$.xhr.send({url: url, body: params});

Related Repositories

iron-data-table

iron-data-table

iron-data-table is a Web Component for displaying data as a table or grid. Built ...

jQuery-Awesome-Nested-Set-Drag-and-Drop

jQuery-Awesome-Nested-Set-Drag-and-Drop

Example App for dragging and dropping categories and saving using awesome nested ...

express-web-components

express-web-components

Declaratively build Express applications with web components. ...

paper-datatable-api

paper-datatable-api

A material design implementation of a data table ...

core-ajax

core-ajax

Polymer Core Ajax ...


Top Contributors

rictic cdata tedium-bot garlicnation e111077 sjmiles azakus gronke notwaldorf tjsavage sorvell ebidel jklein24 addyosmani frankiefu rnicholus StevenMattera dmdreon brendankenny jmesserly kevinpschaaf mbleigh elliottsj TimLuq andybons jpodwys chuckh bearfriend Tyriar dfstern

Releases

-   v1.4.3 zip tar
-   v1.4.2 zip tar
-   v1.4.1 zip tar
-   v1.4.0 zip tar
-   v1.3.0 zip tar
-   v1.2.1 zip tar
-   v1.2.0 zip tar
-   v1.1.1 zip tar
-   v1.1.0 zip tar
-   v1.0.9 zip tar
-   v1.0.8 zip tar
-   v1.0.7 zip tar
-   v1.0.6 zip tar
-   v1.0.5 zip tar
-   v1.0.4 zip tar
-   v1.0.3 zip tar
-   v1.0.2 zip tar
-   v1.0.1 zip tar
-   v1.0.0 zip tar
-   v0.9.6 zip tar
-   v0.9.5 zip tar
-   v0.9.4 zip tar
-   v0.9.3 zip tar
-   v0.9.2 zip tar
-   v0.9.1 zip tar
-   v0.9.0 zip tar
-   v0.8.3 zip tar
-   v0.8.2 zip tar
-   v0.8.1 zip tar
-   v0.8.0 zip tar