Skip to content
This repository has been archived by the owner on Sep 5, 2022. It is now read-only.

Add more ways to set anchor scroll alignment #47

Open
sebnitu opened this issue Jul 19, 2020 · 0 comments
Open

Add more ways to set anchor scroll alignment #47

sebnitu opened this issue Jul 19, 2020 · 0 comments

Comments

@sebnitu
Copy link
Owner

sebnitu commented Jul 19, 2020

Problem

There's currently only one way to set the anchor scroll alignment and that's through the options object.

Possible Solution

Maybe add a data-attribute that passes the desired anchor scroll alignment for a specific element. This update could also include an optional parameter to the anchorShow method for setting the alignment (or just updated in the passed settings object).

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

No branches or pull requests

1 participant