iron-ajax
iron-ajax copied to clipboard
Dynamically launch several requests
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