Gets the slider thumb input of the given thumb position.
(thumbPosition: _MatThumb)
| 912 | |
| 913 | /** Gets the slider thumb input of the given thumb position. */ |
| 914 | _getInput(thumbPosition: _MatThumb): _MatSliderThumb | _MatSliderRangeThumb | undefined { |
| 915 | if (thumbPosition === _MatThumb.END && this._input) { |
| 916 | return this._input; |
| 917 | } |
| 918 | if (this._inputs?.length) { |
| 919 | return thumbPosition === _MatThumb.START ? this._inputs.first : this._inputs.last; |
| 920 | } |
| 921 | return; |
| 922 | } |
| 923 | |
| 924 | /** Gets the slider thumb HTML input element of the given thumb position. */ |
| 925 | _getThumb(thumbPosition: _MatThumb): _MatSliderVisualThumb { |
no outgoing calls
no test coverage detected