You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHubβs verified signature.
The key has expired.
Changelog
[1.0.0] - 2018-12-08
Added
The methods 'destroy' and 'polyfill' are now available as exports (CommonJS) or exposed on window.SmoothscrollAnchorPolyfill. The polyfill still runs automatically on load so embedding it is enough, but now you can destroy it if you want (EventListeners are removed) and start it again, later.
In addition to window.__forceSmoothscrollAnchorPolyfill__, you can now pass { force: true } when invoking polyfill() to force-enable the package even in browsers with native support
Changed
Updated the documentation website to reflect the new API
Moved the documentation to a separate docs/ folder to clean up the repo
Small fixes for formatting and typos in the README