gatsby-plugin-anchor-links
gatsby-plugin-anchor-links copied to clipboard
Feature/options as props
This PR adds a prop options
to provide a way of overriding options at runtime so that one can use a default offset
and overrides it where it's needed.
Will this PR be resolved and approved soon? I need this feature in a hamburger menu scenario.
maybe we should add prop duration
to options
? Then we will be able to define custom speed for link depending on the location on the website. Right now we have the same time of scrolling for every link on the page.