angular-slider/angularjs-slider

Feature Request: Configurable behavior of Page-Up / Page-Down

Gregable opened this issue · 2 comments

Currently, the keyboard shortcuts for Page-Up / Page-Down always move the slider by 10%.

I have a slider that represents dates, by month. So, 12 ticks along the slider is 1 year. It would be nice to be able to configure the Page-Up / Page-Down keyboard shortcuts to always move the slider 12 ticks (1 year).

This is a good idea! :)
Do you want to submit a pull request, it should be rather simple to implement 🙂

I'll keep it in mind when I have the time, but at the moment probably no. My javascript also isn't good enough to know what I'm doing.