Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
react-onepage-scroll
Advanced tools
一个用react实现的onepage-scroll组件
支持鼠标滚轮
支持手机滑动
在线demo: http://103.253.146.179:3008/
本地demo:
git clone https://github.com/DawnyWu/react-onepage-scroll.git
npm install
cd example
npm start
在浏览器中打开 http://localhost:3001 即可查看例子
npm install react-onepage-scroll --save
import {ScrollSection, ScrollContainer} from 'react-onepage-scroll'
<ScrollContainer>
<ScrollSection style={{backgroundImage: 'url(http://www.thepetedesign.com/demos/phones.png)',
backgroundRepeat: 'no-repeat' }}
pageId={0}>
<img style={{position: 'absolute', top: 0, right: 0, border: 0, zIndex: 999}} src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"/>
</a>
</ScrollSection>
<ScrollSection style={{backgroundImage: 'url(http://www.thepetedesign.com/demos/back-phone.png)',
backgroundRepeat: 'no-repeat'}}
pageId={1}>
</ScrollSection>
<ScrollSection style={{backgroundImage: 'url(http://www.thepetedesign.com/demos/tilted-phone.png)',
backgroundRepeat: 'no-repeat'}}
pageId={2}>
</ScrollSection>
</ScrollContainer>
MIT
FAQs
react-onepage-scroll === 一个用react实现的onepage-scroll组件
The npm package react-onepage-scroll receives a total of 2 weekly downloads. As such, react-onepage-scroll popularity was classified as not popular.
We found that react-onepage-scroll demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.