How to use the lottie-web/build/player/lottie.min.js.version function in lottie-web

To help you get started, we’ve selected a few lottie-web examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github google / skia-buildbot / skottie / modules / skottie-sk / skottie-sk.js View on Github external
const lottiePlayer = (ele) => {
  if (!ele._showLottie) {
    return '';
  return html`
  <div id=container title=lottie-web
       style='width: ${ele._width}px; height: ${ele._height}px; background-color: ${ele._backgroundColor}'></div>
       ${caption(`lottie-web ${bodymovin.version}`, ele._viewMode)}