update components

This commit is contained in:
Luke Pulverenti 2016-05-05 21:02:24 -04:00
parent e5a4b3813f
commit e65b47e772
19 changed files with 58 additions and 193 deletions

View file

@ -72,10 +72,16 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
this.getRipple().upAction();
},
ensureRipple: function() {
/**
* @param {...*} var_args
*/
ensureRipple: function(var_args) {
var lastRipple = this._ripple;
Polymer.PaperRippleBehavior.ensureRipple.apply(this, arguments);
this._ripple.center = true;
this._ripple.classList.add('circle');
if (this._ripple && this._ripple !== lastRipple) {
this._ripple.center = true;
this._ripple.classList.add('circle');
}
}
});
</script>