File tree Expand file tree Collapse file tree 2 files changed +27
-19
lines changed Expand file tree Collapse file tree 2 files changed +27
-19
lines changed Original file line number Diff line number Diff line change 11# scrollparent.js
22
3- A function to get the scrolling parent of an html element.
3+ > A function to get the scrolling parent of an html element.
44
55[ ![ browser support] ( https://ci.testling.com/olahol/scrollparent.js.png )
66] ( https://ci.testling.com/olahol/scrollparent.js )
77
8+ ## Install
9+
10+ ``` bash
11+ npm install scrollparent --save
12+ ```
13+
814## Example
915
1016``` js
Original file line number Diff line number Diff line change 11{
2- "name" : " scrollparent.js"
3- , "private" : true
4- , "version" : " 0.0.1"
5- , "main" : " ./scrollparent.js"
6- , "testling" : {
7- "html" : " test.html"
8- , "browsers" : [
9- " ie/9..latest" ,
10- " chrome/22..latest" ,
11- " firefox/16..latest" ,
12- " safari/latest" ,
13- " opera/11.0..latest" ,
14- " iphone/6" ,
15- " ipad/6"
16- ]
17- }, "scripts" : {
18- "test" : " testling . -x 'firefox-trunk'"
19- }
2+ "name" : " scrollparent" ,
3+ "version" : " 0.1.0" ,
4+ "description" : " A function to get the scrolling parent of an html element." ,
5+ "main" : " scrollparent.js" ,
6+ "repository" : {
7+ "type" : " git" ,
8+ "url" : " git+https://github.com/olahol/scrollparent.js.git"
9+ },
10+ "keywords" : [
11+ " browser" ,
12+ " scroll" ,
13+ " scrollparent" ,
14+ " dom"
15+ ],
16+ "author" : " Ola Holmström" ,
17+ "license" : " ISC" ,
18+ "bugs" : {
19+ "url" : " https://github.com/olahol/scrollparent.js/issues"
20+ },
21+ "homepage" : " https://github.com/olahol/scrollparent.js#readme"
2022}
You can’t perform that action at this time.
0 commit comments