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

Option to define sectionSelector and maybe other data- selectors #379

Open
lubomirblazekcz opened this issue Dec 8, 2021 · 0 comments · May be fixed by #394
Open

Option to define sectionSelector and maybe other data- selectors #379

lubomirblazekcz opened this issue Dec 8, 2021 · 0 comments · May be fixed by #394

Comments

@lubomirblazekcz
Copy link

lubomirblazekcz commented Dec 8, 2021

Is your feature request related to a problem? Please describe.
I'm always frustrated when I have to add data-scroll-section on every section that I have on page.

Describe the solution you'd like
It would be much easier to define selector which to use as section eg. sectionSelector: '[class^="section-"]'

The same would apply to data-scroll-container, option to set containerSelector and other selectors

@lubomirblazekcz lubomirblazekcz linked a pull request Feb 10, 2022 that will close this issue
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 a pull request may close this issue.

1 participant