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-gsap-parallax
Advanced tools
to run the demos, clone this, then
$ npm install
$ npm run start
run localStorage.debug = 'react-gsap-parallax*'
in your console to see logging
static propTypes = {
children: React.PropTypes.node.isRequired,
className: React.PropTypes.string,
id: React.PropTypes.string,
scrollDistance: React.PropTypes.number.isRequired,
scrolljack: React.PropTypes.bool,
style: React.PropTypes.object
}
static defaultProps = {
scrolljack: false
}
If scrolljack is set, the scrollhandler will use TimelineMax.tweenTo rather than TimelineMax.seek.
If scrolljack is set to something other than 'true', it's value will be passed into the tweenTo function, for example:
scrolljack={{ease: 'Strong'}}
static propTypes = {
children: React.PropTypes.node.isRequired,
className: React.PropTypes.string,
id: React.PropTypes.string,
keyframes: React.PropTypes.object.isRequired,
style: React.PropTypes.object,
}
static defaultProps = {}
Keyframes is an object with parseIntable keys betwene 0 and 100, and values which are passed as 'vars' to TweenLite.to.
keyframes={{
'0%': {top: '100vh', left: 0, fontSize: '12px'},
'100%': {top: '0vh', left: 0, fontSize: '36px'}
}}
FAQs
react-gsap-parallax React component
We found that react-gsap-parallax 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.