iron-ajax icon indicating copy to clipboard operation
iron-ajax copied to clipboard

Dynamically launch several requests

Open RoXuS opened this issue 8 years ago • 0 comments

Hello,

It is not an issue but a question.

To perform several dynamic requests we can't use an iron-ajax.

So, we have created a specific element :

<iron-multi-ajax
    auto
    urls="[]"
    handle-as="json"
    on-response="handleResponse"
    debounce="300"></iron-multi-ajax>

Then we can set dynamically urls property.

It is a simple web component which uses the iron-request element and the promises in order to wait all responses.

Do you think that this component could be in this polymer component?

Thx

RoXuS avatar Oct 26 '16 12:10 RoXuS