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
Post a Comment