update polymer
This commit is contained in:
parent
dbf135beac
commit
2a2b9b7fe5
32 changed files with 322 additions and 172 deletions
|
@ -145,8 +145,8 @@ context. You should place this element as a child of `<body>` whenever possible.
|
|||
|
||||
/**
|
||||
* Fired after the `iron-overlay` closes.
|
||||
* @event iron-overlay-closed {{canceled: boolean}} detail -
|
||||
* canceled: True if the overlay was canceled.
|
||||
* @event iron-overlay-closed
|
||||
* @param {{canceled: (boolean|undefined)}} set to the `closingReason` attribute
|
||||
*/
|
||||
|
||||
listeners: {
|
||||
|
@ -250,7 +250,7 @@ context. You should place this element as a child of `<body>` whenever possible.
|
|||
// overlay becomes visible here
|
||||
this.style.display = '';
|
||||
// force layout to ensure transitions will go
|
||||
this.offsetWidth;
|
||||
/** @suppress {suspiciousCode} */ this.offsetWidth;
|
||||
if (this.opened) {
|
||||
this._renderOpened();
|
||||
} else {
|
||||
|
@ -374,7 +374,7 @@ context. You should place this element as a child of `<body>` whenever possible.
|
|||
this.style.display = 'none';
|
||||
this.style.transform = this.style.webkitTransform = '';
|
||||
// force layout to avoid application of transform
|
||||
this.offsetWidth;
|
||||
/** @suppress {suspiciousCode} */ this.offsetWidth;
|
||||
this.style.transition = this.style.webkitTransition = '';
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue