scrollsnap-polyfill

0.1.0 • Public • Published

scrollsnap-polyfill.js

Polyfill for css scroll snapping draft

Use

Simply load the bundled file at the end of your body tag.

If you are using the unbundled version, make sure to load polyfill.js first.

Dependencies

This uses Polyfill.js by @philipwalton, which is bundled. No other dependencies.

Browser Support

This has been tested successfully in the following browsers:

  • Chrome 36
  • Firefox 24

Standards documentation

Limitations

Length units for scroll-snap-point-*: repeat(), scroll-snap-coordinate and scroll-snap-destination are limited to:

  • vh/vw
  • percentages
  • pixels.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    82
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    82

Package Sidebar

Install

npm i scrollsnap-polyfill

Weekly Downloads

82

Version

0.1.0

License

MIT

Last publish

Collaborators

  • altmind