Lottie-web: Difference between lottie_light.js and lottie.js?

Created on 23 Mar 2018  路  3Comments  路  Source: airbnb/lottie-web

Could you explain the difference between lottie_light.js and lottie.js in terms of the features they support?

I suppose lottie_light_min.js and lottie_min.js are just minified versions of each, is that correct?

Most helpful comment

lottie_light has only the svg renderer and doesn't support expressions.
yes, the min files are minified versions.

All 3 comments

lottie_light has only the svg renderer and doesn't support expressions.
yes, the min files are minified versions.

So will lottie_light blow up nicely if I try to open an unsupported file - or will things just look corrupted.

I get given json files by our animator and have no idea what he's using in them. Is there an easy way to tell?

@simeyla it should work fine but animations won't render correctly if they have expressions or effects.
There's no easy way right now to know if you should use the light version or the full version.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DannyK123456 picture DannyK123456  路  3Comments

phileastv picture phileastv  路  3Comments

hardy613 picture hardy613  路  4Comments

ghosper picture ghosper  路  4Comments

deborabm picture deborabm  路  3Comments