update components
This commit is contained in:
parent
e5a4b3813f
commit
e65b47e772
19 changed files with 58 additions and 193 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "paper-icon-button",
|
||||
"private": true,
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"license": "http://polymer.github.io/LICENSE.txt",
|
||||
"description": "A material design icon button",
|
||||
"main": [
|
||||
|
@ -38,11 +38,11 @@
|
|||
},
|
||||
"ignore": [],
|
||||
"homepage": "https://github.com/PolymerElements/paper-icon-button",
|
||||
"_release": "1.1.0",
|
||||
"_release": "1.1.1",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.1.0",
|
||||
"commit": "1d57e0d3a76d001674cb0b86ed14244551577e7a"
|
||||
"tag": "v1.1.1",
|
||||
"commit": "f4a8a7a0666aa5a6e2049aa3672ee686bb60b5f3"
|
||||
},
|
||||
"_source": "git://github.com/PolymerElements/paper-icon-button.git",
|
||||
"_target": "^1.0.0",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "paper-icon-button",
|
||||
"private": true,
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"license": "http://polymer.github.io/LICENSE.txt",
|
||||
"description": "A material design icon button",
|
||||
"main": [
|
||||
|
|
|
@ -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