-
Notifications
You must be signed in to change notification settings - Fork 1
Components
Eugene Croquette edited this page Nov 26, 2021
·
1 revision
Use this code in the INI section to inject JS player into a current page/partial/layout.
[lottie]
When it's done, you can use Lottie player as many times as you want with different values of url property.
-
HTTP link to lottie animation JSON.
Next example code will generate two animations following one-by-one:
{% component 'lottie' url='https://example.com/path/to/file1.json' %} {% component 'lottie' url='https://example.com/path/to/file2.json' %}
-
Lottie player CSS style