@@ -103,6 +103,7 @@ export class MatSliderThumb implements _MatSliderThumb, OnDestroy, ControlValueA
103103 this . _slider . _onValueChange ( this ) ;
104104 this . _cdr . detectChanges ( ) ;
105105 }
106+ /** Event emitted when the `value` is changed. */
106107 @Output ( ) readonly valueChange : EventEmitter < number > = new EventEmitter < number > ( ) ;
107108
108109 /** Event emitted when the slider thumb starts being dragged. */
@@ -113,7 +114,10 @@ export class MatSliderThumb implements _MatSliderThumb, OnDestroy, ControlValueA
113114 @Output ( ) readonly dragEnd : EventEmitter < MatSliderDragEvent > =
114115 new EventEmitter < MatSliderDragEvent > ( ) ;
115116
116- /** The current translateX in px of the slider visual thumb. */
117+ /**
118+ * The current translateX in px of the slider visual thumb.
119+ * @docs -private
120+ */
117121 get translateX ( ) : number {
118122 if ( this . _slider . min >= this . _slider . max ) {
119123 this . _translateX = 0 ;
@@ -129,9 +133,13 @@ export class MatSliderThumb implements _MatSliderThumb, OnDestroy, ControlValueA
129133 }
130134 private _translateX : number | undefined ;
131135
132- /** Indicates whether this thumb is the start or end thumb. */
136+ /**
137+ * Indicates whether this thumb is the start or end thumb.
138+ * @docs -private
139+ */
133140 thumbPosition : _MatThumb = _MatThumb . END ;
134141
142+ /** @docs -private */
135143 get min ( ) : number {
136144 return coerceNumberProperty ( this . _hostElement . min ) ;
137145 }
@@ -140,6 +148,7 @@ export class MatSliderThumb implements _MatSliderThumb, OnDestroy, ControlValueA
140148 this . _cdr . detectChanges ( ) ;
141149 }
142150
151+ /** @docs -private */
143152 get max ( ) : number {
144153 return coerceNumberProperty ( this . _hostElement . max ) ;
145154 }
@@ -156,6 +165,7 @@ export class MatSliderThumb implements _MatSliderThumb, OnDestroy, ControlValueA
156165 this . _cdr . detectChanges ( ) ;
157166 }
158167
168+ /** @docs -private */
159169 get disabled ( ) : boolean {
160170 return coerceBooleanProperty ( this . _hostElement . disabled ) ;
161171 }
@@ -168,13 +178,15 @@ export class MatSliderThumb implements _MatSliderThumb, OnDestroy, ControlValueA
168178 }
169179 }
170180
181+ /** The percentage of the slider that coincides with the value. */
171182 get percentage ( ) : number {
172183 if ( this . _slider . min >= this . _slider . max ) {
173184 return this . _slider . _isRtl ? 1 : 0 ;
174185 }
175186 return ( this . value - this . _slider . min ) / ( this . _slider . max - this . _slider . min ) ;
176187 }
177188
189+ /** @docs -private */
178190 get fillPercentage ( ) : number {
179191 if ( ! this . _slider . _cachedWidth ) {
180192 return this . _slider . _isRtl ? 1 : 0 ;
@@ -260,6 +272,7 @@ export class MatSliderThumb implements _MatSliderThumb, OnDestroy, ControlValueA
260272 this . dragEnd . complete ( ) ;
261273 }
262274
275+ /** @docs -private */
263276 initProps ( ) : void {
264277 this . _updateWidthInactive ( ) ;
265278 this . disabled = this . _slider . disabled ;
@@ -269,6 +282,7 @@ export class MatSliderThumb implements _MatSliderThumb, OnDestroy, ControlValueA
269282 this . _initValue ( ) ;
270283 }
271284
285+ /** @docs -private */
272286 initUI ( ) : void {
273287 this . _updateThumbUIByValue ( ) ;
274288 }
@@ -530,6 +544,7 @@ export class MatSliderThumb implements _MatSliderThumb, OnDestroy, ControlValueA
530544 ] ,
531545} )
532546export class MatSliderRangeThumb extends MatSliderThumb implements _MatSliderRangeThumb {
547+ /** @docs -private */
533548 getSibling ( ) : _MatSliderRangeThumb | undefined {
534549 if ( ! this . _sibling ) {
535550 this . _sibling = this . _slider . _getInput ( this . _isEndThumb ? _MatThumb . START : _MatThumb . END ) as
@@ -540,7 +555,10 @@ export class MatSliderRangeThumb extends MatSliderThumb implements _MatSliderRan
540555 }
541556 private _sibling : MatSliderRangeThumb | undefined ;
542557
543- /** Returns the minimum translateX position allowed for this slider input's visual thumb. */
558+ /**
559+ * Returns the minimum translateX position allowed for this slider input's visual thumb.
560+ * @docs -private
561+ */
544562 getMinPos ( ) : number {
545563 const sibling = this . getSibling ( ) ;
546564 if ( ! this . _isLeftThumb && sibling ) {
@@ -549,7 +567,10 @@ export class MatSliderRangeThumb extends MatSliderThumb implements _MatSliderRan
549567 return 0 ;
550568 }
551569
552- /** Returns the maximum translateX position allowed for this slider input's visual thumb. */
570+ /**
571+ * Returns the maximum translateX position allowed for this slider input's visual thumb.
572+ * @docs -private
573+ */
553574 getMaxPos ( ) : number {
554575 const sibling = this . getSibling ( ) ;
555576 if ( this . _isLeftThumb && sibling ) {
0 commit comments