update components
This commit is contained in:
parent
e5a4b3813f
commit
e65b47e772
19 changed files with 58 additions and 193 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue