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