Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use CSS classes /ID's from After FX when rendering PNG sequence #25

Open
Fotozatze opened this issue Apr 9, 2020 · 0 comments
Open

Comments

@Fotozatze
Copy link

Hi,

first very nice Framework!!! Appreciate using it!

I have a question regarding the "opts.style" possibility. I set up the After FX animation with CSS ID's to control those using CSS. So I am able to use CSS to control After FX Layer of my animation (color, size) and its displayed fine in lottie player.

When rendering it to PNG sequence using Pupeteer I can set single CSS parameters for the whole animation (e.g.: Width: 100px). But I wonder if I can use the CSS ID / Class from the After FX layer that is supported by Lottie.

https://github.com/airbnb/lottie-web/wiki/SVG-and-HTML-ids-and-classes-to-reference-via-css-or-select-via-Javascript

Is this supported in Lottie-Pupeteer? Is there an example how to set it up maybe?

Thanks for any help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant