Updates the size of the overlay element based on the overlay config.
()
| 434 | |
| 435 | /** Updates the size of the overlay element based on the overlay config. */ |
| 436 | private _updateElementSize() { |
| 437 | if (!this._pane) { |
| 438 | return; |
| 439 | } |
| 440 | |
| 441 | const style = this._pane.style; |
| 442 | |
| 443 | style.width = coerceCssPixelValue(this._config.width); |
| 444 | style.height = coerceCssPixelValue(this._config.height); |
| 445 | style.minWidth = coerceCssPixelValue(this._config.minWidth); |
| 446 | style.minHeight = coerceCssPixelValue(this._config.minHeight); |
| 447 | style.maxWidth = coerceCssPixelValue(this._config.maxWidth); |
| 448 | style.maxHeight = coerceCssPixelValue(this._config.maxHeight); |
| 449 | } |
| 450 | |
| 451 | /** Toggles the pointer events for the overlay pane element. */ |
| 452 | private _togglePointerEvents(enablePointer: boolean) { |
no test coverage detected