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

state.toggle() should allow an array of duplicate values to cycle through #33

Open
andreekeberg opened this issue Nov 1, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request js JavaScript

Comments

@andreekeberg
Copy link
Member

This requires a move from using Set to a regular Array, and saving the current state index on toggle instead of using indexOf the current value.

@andreekeberg andreekeberg added enhancement New feature or request js JavaScript labels Nov 1, 2019
@andreekeberg andreekeberg self-assigned this Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request js JavaScript
Projects
None yet
Development

No branches or pull requests

1 participant