mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
g-ajax: changed 'autogo' to 'auto'.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
* license that can be found in the LICENSE file.
|
||||
*/
|
||||
-->
|
||||
<element name="g-ajax" attributes="url, handleAs, autogo, params">
|
||||
<element name="g-ajax" attributes="url, handleAs, auto, params">
|
||||
<link rel="components" href="g-component.html">
|
||||
<link rel="components" href="g-xhr.html">
|
||||
<template>
|
||||
@@ -70,7 +70,7 @@
|
||||
}
|
||||
},
|
||||
paramsChanged: function() {
|
||||
if (this.autogo) {
|
||||
if (this.auto) {
|
||||
this.go();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ license that can be found in the LICENSE file.
|
||||
<link rel="components" href="../../toolkit/src/g-ajax.html">
|
||||
</head>
|
||||
<body>
|
||||
<g-ajax autogo="true" url="http://gdata.youtube.com/feeds/api/videos/"
|
||||
<g-ajax auto url="http://gdata.youtube.com/feeds/api/videos/"
|
||||
handleAs="json" params='{"alt":"json", "q":"chrome"}'>
|
||||
<div>
|
||||
<template iterate="response.feed.entry">
|
||||
|
||||
Reference in New Issue
Block a user