Feature - limit drag between minimum and maximum value
I needed a feature that didn't exist, limiting the slip between the minimum and maximum value, example: 0, 1, 2, 3, 4, 5, 6, 7; the limit passed as a parameter = 4; the user can only drag from 0, 1, 2, 3, 4, but 5, 6, 7 are still present.
Thank you for the contribution! I will take a look at it :)
May I ask in which use-case you're using the feature? Just to understand it :)
example:
Today is Monday, I can only drag until Monday.
If it was Tuesday, I could only drag until Tuesday.
If it was Wednesday, I could only drag until Wednesday.
I search for data from the past and the present day, but never from the next days;
Ah I see! Cool. Thanks