* Returns the current position. * * @return The position of the list element.
()
| 216 | * @return The position of the list element. |
| 217 | */ |
| 218 | function getPosition(): number { |
| 219 | const left = resolve( 'left' ); |
| 220 | return rect( list )[ left ] - rect( track )[ left ] + orient( getPadding( false ) ); |
| 221 | } |
| 222 | |
| 223 | /** |
| 224 | * Trims spaces on the edge of the slider. |
no test coverage detected
searching dependent graphs…