How about `Animated.subtract`?
See original GitHub issueI’m finding myself typing Animated.add(x, Animated.multiply(-1, y))
a lot.
Would you take a PR that adds an Animated.subtract
?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
React Native. Animated.subtract - Stack Overflow
Another way to do this is to combine Animated.add with Animated.multiply i.e. Animated.add(x, Animated.multiply(-1, y)).
Read more >Animated - React Native
Creates a new Animated value composed by subtracting the second Animated value from the first Animated value. divide() . static divide(a, ...
Read more >Animated Subtraction- Using a Numberline - YouTube
Watch this animated subtraction lesson. An easy way to explain subtraction using a numberline.
Read more >Subtract Animations - Lottiefiles
Subtract Animations designed for Web and Mobile. Download Lottie, MP4 and GIF animation.
Read more >sub | React Native Reanimated - Software Mansion
Takes two or more animated nodes or values, and when evaluated, returns the result of subtracting their values in the exact order.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@avendiart Go for it!
Hey, @dgreensp are you working on it? Or is it something I could take on?