Skip to content

Instantly share code, notes, and snippets.

@btodts btodts/AmimatedLoop.js
Last active Mar 26, 2019

Embed
What would you like to do?
Animated.loop(
Animated.sequence([
Animated.delay(3000),
Animated.timing(this.state.width, {
toValue: 400,
duration: 2000
})
]),
{
iterations: 10
}
).start()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.