MCPcopy Create free account
hub / github.com/angular/components / updateSize

Method updateSize

src/cdk/overlay/overlay-ref.ts:377–380  ·  view source on GitHub ↗

Update the size properties of the overlay.

(sizeConfig: OverlaySizeConfig)

Source from the content-addressed store, hash-verified

375
376 /** Update the size properties of the overlay. */
377 updateSize(sizeConfig: OverlaySizeConfig): void {
378 this._config = {...this._config, ...sizeConfig};
379 this._updateElementSize();
380 }
381
382 /** Sets the LTR/RTL direction for the overlay. */
383 setDirection(dir: Direction | Directionality): void {

Callers 6

ngOnChangesMethod · 0.45
attachOverlayMethod · 0.45
overlay.spec.tsFile · 0.45
attachMethod · 0.45
widthMethod · 0.45
heightMethod · 0.45

Calls 1

_updateElementSizeMethod · 0.95

Tested by

no test coverage detected