Skip to content

v1.0.0 πŸŽ‰πŸŽ‰

Compare
Choose a tag to compare
@jonaskuske jonaskuske released this 08 Dec 02:13
d2b0d90

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