Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #39 from garlicnation/master
Browse files Browse the repository at this point in the history
Extend auto's behavior to send requests on body change.
  • Loading branch information
garlicnation committed Oct 30, 2014
2 parents c3a1f96 + e17437c commit 76cfcd4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion core-ajax.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
on-core-response="{{handleResponse}}"></core-ajax>
With `auto` set to `true`, the element performs a request whenever
its `url` or `params` properties are changed.
its `url`, `params` or `body` properties are changed.
Note: The `params` attribute must be double quoted JSON.
Expand Down Expand Up @@ -330,6 +330,10 @@
this.autoGo();
},

bodyChanged: function() {
this.autoGo();
},

autoChanged: function() {
this.autoGo();
},
Expand Down

0 comments on commit 76cfcd4

Please sign in to comment.