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

Method updateSize

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

Update the size properties of the overlay.

(sizeConfig: OverlaySizeConfig)

Source from the content-addressed store, hash-verified

348
349 /** Update the size properties of the overlay. */
350 updateSize(sizeConfig: OverlaySizeConfig): void {
351 this._config = {...this._config, ...sizeConfig};
352 this._updateElementSize();
353 }
354
355 /** Sets the LTR/RTL direction for the overlay. */
356 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