* @param {!../model/doc.Doc} doc * @param {number} zIndex
(doc, zIndex)
| 10372 | * @param {number} zIndex |
| 10373 | */ |
| 10374 | constructor(doc, zIndex) { |
| 10375 | /** @private @const {!../model/doc.Doc} */ |
| 10376 | this.doc_ = doc; |
| 10377 | |
| 10378 | /** @private @const {!Element} */ |
| 10379 | this.fadeBackground_ = this.doc_ |
| 10380 | .getWin() |
| 10381 | .document.createElement('swg-popup-background'); |
| 10382 | setImportantStyles$1(this.fadeBackground_, { |
| 10383 | 'z-index': zIndex, |
| 10384 | 'display': 'none', |
| 10385 | 'pointer-events': 'none', |
| 10386 | 'position': 'fixed', |
| 10387 | 'top': 0, |
| 10388 | 'right': 0, |
| 10389 | 'bottom': 0, |
| 10390 | 'left': 0, |
| 10391 | 'background-color': 'rgba(32, 33, 36, .6)', |
| 10392 | }); |
| 10393 | } |
| 10394 | |
| 10395 | /** |
| 10396 | * @return {!Element} |
nothing calls this directly
no test coverage detected