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

Rolling mode API enhancements #1609

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bpfoster
Copy link
Contributor

@bpfoster bpfoster commented Mar 30, 2023

For your consideration... some additions that I think will help make rollingMode even more great.

  • Add explicit enable/disable methods for rolling
  • Add method to check if rollingMode is enabled
  • Fire events when rollingMode is enabled or disabled
  • Allow disabling of the built-in rollingMode button
  • Allow turning off rollingMode via setOptions()

Open to any/all feedback. I've got a use case for these features so I hope they'll be considered useful!

@bpfoster bpfoster force-pushed the rollingMode-api-enhancements branch 3 times, most recently from 934f103 to 405029e Compare March 30, 2023 15:19
@bpfoster bpfoster marked this pull request as ready for review March 30, 2023 15:32
@bpfoster bpfoster force-pushed the rollingMode-api-enhancements branch from 405029e to a1081d7 Compare April 4, 2023 14:30
- Add explicit enable/disable methods to timeline
- Add method to check if rollingMode is enabled
- Fire events when rollingMode is enabled or disabled
- Allow disabling of the built-in rollingMode button
@bpfoster bpfoster force-pushed the rollingMode-api-enhancements branch from a1081d7 to b793d48 Compare April 4, 2023 14:31
Turning it on via setOptions() already worked but not the opposite.
fixes visjs#939
@bpfoster bpfoster force-pushed the rollingMode-api-enhancements branch from b793d48 to 9decbd2 Compare April 4, 2023 17:34
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

Successfully merging this pull request may close these issues.

Dynamically modifying rollingMode with setOptions not working
1 participant