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

Method removePanelClass

src/cdk/overlay/overlay-ref.ts:379–383  ·  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

377
378 /** Remove a CSS class or an array of classes from the overlay pane. */
379 removePanelClass(classes: string | string[]): void {
380 if (this._pane) {
381 this._toggleClasses(this._pane, classes, false);
382 }
383 }
384
385 /**
386 * 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