Updates the size of the overlay element based on the overlay config.
()
| 407 | |
| 408 | /** Updates the size of the overlay element based on the overlay config. */ |
| 409 | private _updateElementSize() { |
| 410 | if (!this._pane) { |
| 411 | return; |
| 412 | } |
| 413 | |
| 414 | const style = this._pane.style; |
| 415 | |
| 416 | style.width = coerceCssPixelValue(this._config.width); |
| 417 | style.height = coerceCssPixelValue(this._config.height); |
| 418 | style.minWidth = coerceCssPixelValue(this._config.minWidth); |
| 419 | style.minHeight = coerceCssPixelValue(this._config.minHeight); |
| 420 | style.maxWidth = coerceCssPixelValue(this._config.maxWidth); |
| 421 | style.maxHeight = coerceCssPixelValue(this._config.maxHeight); |
| 422 | } |
| 423 | |
| 424 | /** Toggles the pointer events for the overlay pane element. */ |
| 425 | private _togglePointerEvents(enablePointer: boolean) { |
no test coverage detected