iron-ajax travis-ci Bower

Easily make ajax requests

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.

##&lt;iron-request&gt;

iron-request can be used to perform XMLHttpRequests.

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

Related Repositories

iron-ajax

iron-ajax

Easily make ajax requests ...

byutv-jsonp

byutv-jsonp

The byutv-jsonp element (<byutv-jsonp>) exposes network request functionality. It is a Polymer v1.0+ element that facilitates making JSONP requests. It uses Polymer behaviors (Byutv.behaviors.Jsonp). It is patterned after Polymer's iron-ajax element (<iro ...

iron-ajax

iron-ajax

Iron Ajax WordPress plugin. Creates a generic page to handle large sets of data through Ajax calls. Through the use of hooks, these Ajax calls can be used to perform tasks you designate on large data sets. ...

hot-network

hot-network

Add network resilience to widgets using iron-ajax ...

ng-ajax

ng-ajax

Angular equivalent of Polymer core-ajax/iron-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