![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@invisionag/iris-react-animation
Advanced tools
```js import Animation from '@invisionag/iris-react-animation'; ```
import Animation from '@invisionag/iris-react-animation';
A component that parses standardized Adobe After Effects animation data.
All additional props will be passed to it's container, which is react-image-container
by default.
Takes a javascript object representing an Adobe After Effects animation (E.g. from a JSON file).
import Animation from '@invisionag/iris-react-animation';
import animationData from './animation.json';
<Animation data={animationData} />
Sometimes it may be necessary to delay the start of an animation. For this purpose, the animation package ships with an AnimationDelay
component that stops any css or lottie animation in its children. Note that it will stop any animations, not just direct children. The default delay is 1000ms but can be configured by passing a delay
prop.
Example:
import Animation, { AnimationDelayer } from '@invisionag/iris-react-animation';
import animationData from './animation.json';
<AnimationDelayer delay={1000}>
<Animation data={animationData} />
</AnimationDelayer>
Note: The AnimationDelayer will only delay animations on mounting. It will not delay on updates
Use the children render prop to render the svg in a custom container.
Render prop params:
Animation
import Animation from '@invisionag/iris-react-animation';
import animationData from './animation.json';
<Animation data={animationData}>
{({ onRef }) => (
<div ref={onRef} />
)}
</Animation>
This lets you pass options directly to lottie. Should be used as an escape hatch if all else fails.
import Animation from '@invisionag/iris-react-animation';
import animationData from './animation.json';
<Animation data={animationData} lottieOptions={{ loop: false }} />
FAQs
```js import Animation from '@invisionag/iris-react-animation'; ```
The npm package @invisionag/iris-react-animation receives a total of 11 weekly downloads. As such, @invisionag/iris-react-animation popularity was classified as not popular.
We found that @invisionag/iris-react-animation demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 22 open source maintainers 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.