Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const lottiePlayer = (ele) => {
if (!ele._showLottie) {
return '';
}
return html`
<figure>
<div style="width: ${ele._width}px; height: ${ele._height}px; background-color: ${ele._backgroundColor}" title="lottie-web" id="container"></div>
${caption(`lottie-web ${bodymovin.version}`, ele._viewMode)}
</figure>`;
};