Skip to content

Make Animations easier to implement using additional metadata in EDL #1714

Open

Description

@reubensjohn

Today implementing an animation like grow when the widget loads a tedious task. Other than setting ANimation property on the wideget, developer need to handle evenst like OnLoad or other similar actions and add js code to change the size or other properties of the widget. I think Ensemble can provide a better way to define animations in the EDL without js.

An example will be if I need to show a animation of an Image grow from 50% to 100% size on load, I can add the 'animation' tag and as sub metadata I can also say TypeOfAnimation - could be [grow, rotate, fade, flyin..] and additional metadata like grow[50,100] - indicating initial size shoould be 505 of the width and height and then animate grow to 100% width and height. Similarly for other animation types as well. Also we could specify the Ac tions(events this animation need to play) like on Load, OnTap, or any other relavent events. Hope this is a good enough explanation of what the ask is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions