Skip to content

Commit 0cd258f

Browse files
authored
docs(material/slider): Update description for color input description on API page (#29335)
1 parent 0f8e887 commit 0cd258f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/material/slider/slider.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,13 @@ export class MatSlider implements AfterViewInit, OnDestroy, _MatSlider {
136136
}
137137
private _min: number = 0;
138138

139-
/** Palette color of the slider. */
139+
/**
140+
* Theme color of the slider. This API is supported in M2 themes only, it
141+
* has no effect in M3 themes.
142+
*
143+
* For information on applying color variants in M3, see
144+
* https://material.angular.io/guide/theming#using-component-color-variants.
145+
*/
140146
@Input()
141147
color: ThemePalette;
142148

0 commit comments

Comments
 (0)