* Returns the limit number that the slider can move to. * * @param max - Determines whether to return the maximum or minimum limit. * * @return The border number.
( max: boolean )
| 253 | * @return The border number. |
| 254 | */ |
| 255 | function getLimit( max: boolean ): number { |
| 256 | return toPosition( max ? Components.Controller.getEnd() : 0, !! options.trimSpace ); |
| 257 | } |
| 258 | |
| 259 | /** |
| 260 | * Checks if there is enough width to shift the slider. |
no test coverage detected
searching dependent graphs…