Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
react-viewport-slider
Advanced tools
react-viewport-slider is a react component (obviously) that displays a sequence of contents using 100% of the viewport with and height.
Install via NPM:
npm install react-viewport-slider
Then:
import Slider from ‘react-viewport-slider’;
…
render: function () {
return (
<Slider>
<Slider.Item style={{ backgroundColor: '#a2d7c7' }}>
<div className="content">Hello, world.</div>
</Slider.Item>
<Slider.Item style={{ backgroundColor: '#353330' }}>
<div className="content">Sup?</div>
</Slider.Item>
<Slider.Item className="has-overlay" style={{ backgroundImage: `url(${wallpaper})`, backgroundSize: 'cover' }}>
<div className="content">Yo.</div>
</Slider.Item>
</Slider>
);
}
…
Download or install via bower:
bower install react-viewport-slider
Then:
<script src="http://cdnjs.cloudflare.com/ajax/libs/react/0.14.0-rc1/react.js" type="text/javascript" charset="utf-8"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/react/0.14.0-rc1/react-dom.js" type="text/javascript" charset="utf-8"></script>
<script src=“react-viewport-slider/dist/react-viewport-slider.js” type=“text/javascript” charset=“utf-8”></script>
<script type=“text/jsx”>
React.render(
<ViewportSlider>
…
</ViewportSlider>,
document.getElementById(‘example’)
);
</script>
npm install
npm run demo
npm test
MIT: https://github.com/daviferreira/react-viewport-slider/blob/master/LICENSE
FAQs
Viewport Slider React component.
The npm package react-viewport-slider receives a total of 13 weekly downloads. As such, react-viewport-slider popularity was classified as not popular.
We found that react-viewport-slider 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.