Skip to content

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

Open
@lubomirblazekcz

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions