Skip to content
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

Conversation

arthurdenner
Copy link
Owner

What kind of change does this PR introduce?
Feature.

What is the current behavior?
We are not supporting the options that lax.js support: breakpoints and selector.

What is the new behavior?

  • We support a breakpoints attribute and pass it down to lax.js;
  • We support a className attribute that will be passed down to lax.js and applied to all elements added dynamically - using useLaxElement. Defaults to lax like the library does.
    • PS: The elements not using the hook must have the className added manually.

Checklist:

  • Documentation
  • Tests
  • Ready to be merged

@arthurdenner arthurdenner merged commit ef2b174 into master Feb 29, 2020
@arthurdenner arthurdenner deleted the feat/support-options branch February 29, 2020 18:02
@arthurdenner
Copy link
Owner Author

🎉 This PR is included in version 3.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

1 participant