1.0.3 • Published 5 years ago

trans_lottie v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

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,()=>{});
1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago