Polymer web app element null pointer exception
问题 I am user iron-list with iron-ajax but after ajax response when pushing element to iron-list giving null exception = "Cannot read property '_list' of undefined" <script> Polymer({ is: 'my-home', ready: function () { this.$._ajax.generateRequest(); }, onResponse: function (e) { var people = e.detail.response.data; people.forEach(function (person) { this.$._list.push('items', person); }); // Clear the lower threshold so we can load more data when the user scrolls down again. this.