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

Method removePanelClass

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

Remove a CSS class or an array of classes from the overlay pane.

(classes: string | string[])

Source from the content-addressed store, hash-verified

394
395 /** Remove a CSS class or an array of classes from the overlay pane. */
396 removePanelClass(classes: string | string[]): void {
397 if (this._pane) {
398 this._toggleClasses(this._pane, classes, false);
399 }
400 }
401
402 /**
403 * Returns the layout direction of the overlay panel.

Callers 1

overlay.spec.tsFile · 0.45

Calls 1

_toggleClassesMethod · 0.95

Tested by

no test coverage detected