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

Method updateSize

src/cdk/dialog/dialog-ref.ts:129–132  ·  view source on GitHub ↗

* Updates the dialog's width and height. * @param width New width of the dialog. * @param height New height of the dialog.

(width: string | number = '', height: string | number = '')

Source from the content-addressed store, hash-verified

127 * @param height New height of the dialog.
128 */
129 updateSize(width: string | number = '', height: string | number = ''): this {
130 this.overlayRef.updateSize({width, height});
131 return this;
132 }
133
134 /** Add a CSS class or an array of classes to the overlay pane. */
135 addPanelClass(classes: string | string[]): this {

Callers 5

togglePositionMethod · 0.45
togglePositionMethod · 0.45
_updateOverlaySizeMethod · 0.45
dialog.spec.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected