lottiemendixwidget

1.0.2 • Public • Published

Usage

License: MIT GitHub issues GitHub issues GitHub issues License: MIT

headerIMG

Lottie Implementation for Mendix.

Lottie is an easy way to add beautiful animations to your app. It uses JSON files exported from After Effects.
Read more about Lottie here and see the possibilities here

Usage

headerIMG

Data

Usage with Hosted JSON Files

In this option you dont have to store the Animation JSON file locally or copy it over, you can simply provide a publicly available URL.

Usage with Attributes

Here you will have to setup a entity in the domain model that stores the JSON in a String Attribute.

You can simply open the JSON file in a Text Editor you receive from your designer and copy and save it.

HERE is an example of a JSON string copied headerIMG

Controls

Type Info
Loop boolean Either loops the animation or not
Width and Height number Set Animation Width and Height
Start Animation boolean When this is selected the animation will only start once the value changes from False to True (Non persistable object)
On Complete action When this is selected it will trigger the action once the animation is Done (WILL NOT TRIGGER ON LOOPING ANIMATIONS)

Example GIF

Example of a Microflow triggering a Manual Start headerIMG

Example of a OnComplete triggering a Page To Open (Also A Manual Start) headerIMG

Random Locally Stored Animations headerIMG

Known Issues

  • Currently not able to loop segments and then stop the Animation

Issues, suggestions and feature requests

Github Issues

Development and contribution

[specify contribute]

Readme

Keywords

none

Package Sidebar

Install

npm i lottiemendixwidget

Weekly Downloads

2

Version

1.0.2

License

Apache-2.0

Unpacked Size

54 MB

Total Files

35

Last publish

Collaborators

  • ahwelgemoed