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

Add timer_current_split_index #747

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

Conversation

AlexKnauth
Copy link
Contributor

@AlexKnauth AlexKnauth commented Dec 6, 2023

This would be the quickest way to allow auto-splitters to have something similar to settings per split #795: where a List Widget can allow the user to choose list values in the same order as their splits, and the split index allows the auto-splitter to know which index to use from that List.

I have a feeling some version of the first commit of this PR, Timer trait: add current_split_index, will be necessary even if some better alternative to this, such as a real Settings per Split solution, is implemented instead.

See also:

WebEventSink: current_split_index

web-sys, js-sys: 0.3.65

0.3.65 is when web_sys starts re-exporting js_sys, which web_event_sink relies on for use web_sys::js_sys
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.

1 participant