Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force selector to select only steps hours. #6

Open
milacay opened this issue Mar 8, 2018 · 1 comment
Open

Force selector to select only steps hours. #6

milacay opened this issue Mar 8, 2018 · 1 comment

Comments

@milacay
Copy link

milacay commented Mar 8, 2018

I really like your plugin module. Thank you for this module.
Currently, I have the steps for the interval of every 1/2 hr, example: 08:00, 08:30, 9:00, 9:30... so on. Is there a way to force the selector to select only those hours specified, 30 minutes interval? For example, user drags the mouse between 8:00 to 8:47, it will force to select from 8:00 to 9:00.

@magnusjt
Copy link
Owner

Try setting snapTo: 30 in the options. It should force the selection to the nearest half hour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants