Skip to content

idmadj/element-scroll-polyfill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

element-scroll-polyfill

npm npm bundle size (minified)

A minimal polyfill for Element scroll extensions. Mostly meant for Microsoft IE/Edge.

Implements the following methods if not present natively, in compliance with the W3C Editor's Draft (2018-10-24):

Does not implement ScrollBehavior, the ScrollToOptions.behavior parameter is ignored.

Install

$ npm install --save element-scroll-polyfill

Usage

Pick your favorite:

require("element-scroll-polyfill");
import 'element-scroll-polyfill';

About

A minimal polyfill for Element scroll extensions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published