trans_lottie
v1.0.3
Published
transLottie
Downloads
1
Readme
trans_lottie
npm使用
npm install trans_lottie
//or
cnpm install trans_lottie
const transLottie = require('trans_lottie');
transLottie(
inDir,
resPath,
dataPath,
)
命令行全局使用
npm install trans_lottie -g
//or
cnpm install trans_lottie -g
transLottie -i ./input -r ./output -d ./lotties
生成数据使用,加载资源后,引入生成的代码,作为参数传入Lottie
var a = new FYGE.Lottie(cloud_back))
a.play(1,()=>{});