Installations
npm install react-scroll-into-view-mixin
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
0.10.26
NPM Version
2.9.1
Score
63.8
Supply Chain
71.1
Quality
75
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
Download Statistics
Total Downloads
2,358
Last Day
1
Last Week
1
Last Month
7
Last Year
67
GitHub Statistics
3 Stars
3 Commits
1 Forks
3 Watching
1 Branches
1 Contributors
Package Meta Information
Latest Version
0.0.1
Package Id
react-scroll-into-view-mixin@0.0.1
Size
5.27 kB
NPM Version
2.9.1
Node Version
0.10.26
Total Downloads
Cumulative downloads
Total Downloads
2,358
Last day
0%
1
Compared to previous day
Last week
-50%
1
Compared to previous week
Last month
250%
7
Compared to previous month
Last year
-27.2%
67
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
No dependencies detected.
react-scroll-into-view-mixin
A ReactJS mixin that enables components to scroll HTML elements into view.
Install
npm install react-scroll-into-view-mixin --save
Example
var ScrollIntoViewMixin = require('react-scroll-into-view-mixin');
function getSelected() {
return this.getDOMNode().querySelector('.is-selected');
}
function shouldScrollUp(el, prevProps, prevState) {
return this.props.selectedIndex < prevProps.selectedIndex;
}
function shouldScrollDown(el, prevProps, prevState) {
return this.props.selectedIndex > prevProps.selectedIndex;
}
module.exports = React.createClass({
mixins: [
ScrollIntoViewMixin(getSelected, shouldScrollUp, shouldScrollDown)
]
}
Contributing
Contributions of any sort are welcome.
License
MIT.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 0/3 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
project is archived
Details
- Warn: Repository is archived.
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
3
/10
Last Scanned on 2024-12-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More