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

Method addPanelClass

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

360
361 /** Add a CSS class or an array of classes to the overlay pane. */
362 addPanelClass(classes: string | string[]): void {
363 if (this._pane) {
364 this._toggleClasses(this._pane, classes, true);
365 }
366 }
367
368 /** Remove a CSS class or an array of classes from the overlay pane. */
369 removePanelClass(classes: string | string[]): void {

Callers 1

overlay.spec.tsFile · 0.45

Calls 1

_toggleClassesMethod · 0.95

Tested by

no test coverage detected