update components

This commit is contained in:
Luke Pulverenti 2015-11-18 21:35:08 -05:00
parent 8c9287d505
commit aa272fb404
106 changed files with 1733 additions and 554 deletions

View file

@ -115,10 +115,6 @@ Apply `circle` class to make the rippling effect within a circle.
transform: translate3d(0, 0, 0);
}
:host([noink]) {
pointer-events: none;
}
#background,
#waves,
.wave-container,
@ -562,10 +558,6 @@ Apply `circle` class to make the rippling effect within a circle.
}
},
observers: [
'_noinkChanged(noink, isAttached)'
],
get target () {
var ownerRoot = Polymer.dom(this).getOwnerRoot();
var target;
@ -586,6 +578,10 @@ Apply `circle` class to make the rippling effect within a circle.
},
attached: function() {
// Set up a11yKeysBehavior to listen to key events on the target,
// so that space and enter activate the ripple even if the target doesn't
// handle key events. The key handlers deal with `noink` themselves.
this.keyEventTarget = this.target;
this.listen(this.target, 'up', 'uiUpAction');
this.listen(this.target, 'down', 'uiDownAction');
},
@ -755,12 +751,6 @@ Apply `circle` class to make the rippling effect within a circle.
} else {
this.upAction();
}
},
_noinkChanged: function(noink, attached) {
if (attached) {
this.keyEventTarget = noink ? this : this.target;
}
}
});
})();