📌  相关文章
📜  react native anination 2 valuse - Javascript代码示例

📅  最后修改于: 2022-03-11 15:02:53.798000             🧑  作者: Mango

代码示例1
Animated.parallel([
    Animated.timing(this.state.opacity, {
        toValue: 0,
        duration: 300
    }),
    Animated.timing(this.state.height, {
        toValue: 0,
        duration: 300
    })
]).start(() => {
    // callback
});