()
| 1266 | } |
| 1267 | |
| 1268 | hide() { |
| 1269 | if (this.isMobile) { |
| 1270 | this.body.style['overflow-y'] = this.origOverflowY; |
| 1271 | } |
| 1272 | this.shown = false; |
| 1273 | this.baseEl.setAttribute('hidden', ''); |
| 1274 | if (this.holderEl) { |
| 1275 | this.holderEl.setAttribute('hidden', ''); |
| 1276 | } |
| 1277 | this.removeEventHandlers(); |
| 1278 | if (this.params.onHide !== undefined) { |
| 1279 | this.params.onHide(); |
| 1280 | } |
| 1281 | return this; |
| 1282 | } |
| 1283 | |
| 1284 | setZoom(zoomPercentage) { |
| 1285 | if (!this.size) { |
no test coverage detected