Updates the size of the overlay element based on the overlay config.
()
| 417 | |
| 418 | /** Updates the size of the overlay element based on the overlay config. */ |
| 419 | private _updateElementSize() { |
| 420 | if (!this._pane) { |
| 421 | return; |
| 422 | } |
| 423 | |
| 424 | const style = this._pane.style; |
| 425 | |
| 426 | style.width = coerceCssPixelValue(this._config.width); |
| 427 | style.height = coerceCssPixelValue(this._config.height); |
| 428 | style.minWidth = coerceCssPixelValue(this._config.minWidth); |
| 429 | style.minHeight = coerceCssPixelValue(this._config.minHeight); |
| 430 | style.maxWidth = coerceCssPixelValue(this._config.maxWidth); |
| 431 | style.maxHeight = coerceCssPixelValue(this._config.maxHeight); |
| 432 | } |
| 433 | |
| 434 | /** Toggles the pointer events for the overlay pane element. */ |
| 435 | private _togglePointerEvents(enablePointer: boolean) { |
no test coverage detected