File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
material-experimental/mdc-slider
universal-app/kitchen-sink-mdc Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -989,8 +989,6 @@ class SliderAdapter implements MDCSliderAdapter {
989
989
return this . _delegate . _getInput ( thumbPosition ) . _isFocused ( ) ;
990
990
}
991
991
getThumbKnobWidth = ( thumbPosition : Thumb ) : number => {
992
- // TODO(wagnermaciel): Check if this causes issues for SSR
993
- // once the mdc-slider is added back to the kitchen sink SSR app.
994
992
return this . _delegate . _getKnobElement ( thumbPosition ) . getBoundingClientRect ( ) . width ;
995
993
}
996
994
getThumbBoundingClientRect = ( thumbPosition : Thumb ) : ClientRect => {
Original file line number Diff line number Diff line change @@ -104,6 +104,16 @@ <h2>MDC slide-toggle</h2>
104
104
< mat-slide-toggle > with a label</ mat-slide-toggle >
105
105
106
106
< h2 > MDC Slider</ h2 >
107
+ < mat-slider >
108
+ < input matSliderThumb value ="60 ">
109
+ </ mat-slider >
110
+ < mat-slider >
111
+ < input matSliderThumb value ="50 " disabled >
112
+ </ mat-slider >
113
+ < mat-slider min ="200 " max ="500 " step ="100 " discrete showTickMarks >
114
+ < input value ="300 " matSliderStartThumb >
115
+ < input value ="400 " matSliderEndThumb >
116
+ </ mat-slider >
107
117
108
118
< h2 > MDC Tabs</ h2 >
109
119
You can’t perform that action at this time.
0 commit comments