update shared components
This commit is contained in:
parent
30db5a009c
commit
489dc97aab
33 changed files with 368 additions and 212 deletions
|
@ -38,8 +38,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
|
||||
/**
|
||||
* Fired when the list of selectable items changes (e.g., items are
|
||||
* added or removed). The detail of the event is a list of mutation
|
||||
* records that describe what changed.
|
||||
* added or removed). The detail of the event is a mutation record that
|
||||
* describes what changed.
|
||||
*
|
||||
* @event iron-items-changed
|
||||
*/
|
||||
|
@ -346,7 +346,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
|
||||
// observe items change under the given node.
|
||||
_observeItems: function(node) {
|
||||
return Polymer.dom(node).observeNodes(function(mutations) {
|
||||
return Polymer.dom(node).observeNodes(function(mutation) {
|
||||
this._updateItems();
|
||||
|
||||
if (this._shouldUpdateSelection) {
|
||||
|
@ -355,7 +355,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
|
||||
// Let other interested parties know about the change so that
|
||||
// we don't have to recreate mutation observers everywhere.
|
||||
this.fire('iron-items-changed', mutations, {
|
||||
this.fire('iron-items-changed', mutation, {
|
||||
bubbles: false,
|
||||
cancelable: false
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue