Polymer returning JSON object on AJAX success not using jquery -


i'm trying animate svg images based on degree provided user. requirement have read degree external json file. i'm new polymer how can achieved?

you can use iron-ajax.

here's example:

<iron-ajax url="post.json" auto last-response="{{theresponse}}"></iron-ajax> 

the url attribute here refers url target of request, auto means performs request either when url or params changes, , last-response refers last response object received.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

mysql - FireDac error 314 - but DLLs are in program directory -