V
V
Vasya2020-04-22 19:54:42
JavaScript
Vasya, 2020-04-22 19:54:42

How to pass parameters to JS?

This (github.com/transitive-bullshit/puppeteer-lottie) page has API request parameters, but how do I make a request?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
grvctr, 2020-04-22
@grvctr

By query, do you mean this?

await renderLottie({
  path: 'fixtures/bodymovin.json',
  output: 'preview.jpg'
})

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question