Skip to main content
Version: 1.x

Taro.createAnimation(OBJECT)

使用方式同 wx.createAnimation

示例代码

import Taro from '@tarojs/taro'

const animation = Taro.createAnimation({
transformOrigin: "50% 50%",
duration: 1000,
timingFunction: "ease",
delay: 0
})

API支持度

API微信小程序H5React Native
Taro.createAnimation✔️✔️