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

Shuffle v6 #380

Merged
merged 8 commits into from
Feb 15, 2022
Merged

Shuffle v6 #380

merged 8 commits into from
Feb 15, 2022

Conversation

Vestride
Copy link
Owner

@Vestride Vestride commented Jan 27, 2022

Breaking

  • Remove IE 11 from browsers list. If you need to support IE 11 (sorry), please use v5. Did you know Microsoft 365 apps and services stopped supporting IE 11 in August 2021?
  • Remove matches-selector package and use the native matches (see browser support).
  • Remove deprecated delimeter option (the misspelled one). Use the delimiter option instead.
  • Replace window resize event listener with ResizeObserver (Force update even on disabled shuffleInstance #321). Browser support for it is very good, but if you want to support a browser that doesn't have it, you can manually add a window resize event and call update() within the event callback.
    • Removed throttleit dependency
    • Removed throttle option.
    • Removed throttleTime option.
  • Changed the method signature for update().
    -shuffle.update(true);
    +shuffle.update({ recalculateSizes: false });
  • Changed how data attribute are accessed. Previously, Shuffle used element.getAttribute('data-groups'). Now, it uses element.dataset.groups. dataset is very well supported now.

New features

Other

Future ideas

@Vestride Vestride changed the title Start v6 Shuffle v6 Jan 28, 2022
@Vestride Vestride marked this pull request as ready for review February 15, 2022 07:07
@Vestride Vestride merged commit 7c35895 into main Feb 15, 2022
@Vestride Vestride deleted the v6 branch February 15, 2022 07:10
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.

None yet

1 participant