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

Method addPanelClass

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

Add a CSS class or an array of classes to the overlay pane.

(classes: string | string[])

Source from the content-addressed store, hash-verified

387
388 /** Add a CSS class or an array of classes to the overlay pane. */
389 addPanelClass(classes: string | string[]): void {
390 if (this._pane) {
391 this._toggleClasses(this._pane, classes, true);
392 }
393 }
394
395 /** Remove a CSS class or an array of classes from the overlay pane. */
396 removePanelClass(classes: string | string[]): void {

Callers 1

overlay.spec.tsFile · 0.45

Calls 1

_toggleClassesMethod · 0.95

Tested by

no test coverage detected