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

Method _setColor

src/material/autocomplete/autocomplete.ts:135–138  ·  view source on GitHub ↗

@docs-private Sets the theme color of the panel.

(value: ThemePalette)

Source from the content-addressed store, hash-verified

133
134 /** @docs-private Sets the theme color of the panel. */
135 _setColor(value: ThemePalette) {
136 this._color = value;
137 this._changeDetectorRef.markForCheck();
138 }
139 /** @docs-private theme color of the panel */
140 protected _color!: ThemePalette;
141

Callers 1

_attachOverlayMethod · 0.45

Calls 1

markForCheckMethod · 0.80

Tested by

no test coverage detected