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 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)}
</figure>`;
};