MCPcopy Index your code
hub / github.com/angular/components / updateSize

Method updateSize

src/material/dialog/dialog-ref.ts:222–225  ·  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 = '', height: string = '')

Source from the content-addressed store, hash-verified

220 * @param height New height of the dialog.
221 */
222 updateSize(width: string = '', height: string = ''): this {
223 this._ref.updateSize(width, height);
224 return this;
225 }
226
227 /** Add a CSS class or an array of classes to the overlay pane. */
228 addPanelClass(classes: string | string[]): this {

Callers 4

openMethod · 0.45
_attachOverlayMethod · 0.45
dialog.spec.tsFile · 0.45
updateResizeActiveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected