nunuStudio icon indicating copy to clipboard operation
nunuStudio copied to clipboard

General Question: Animating HTML5 elements

Open inglesuniversal opened this issue 3 years ago • 1 comments

Hello

Is it possible to animate HTML5 elements like TABLE, DIV, IFRAME while using your script?

I've use https://animate.style/ and it works fine on browser but if I use it into a webview within cordova or react-navite app the animation speed is slow and choppy.

Any ideas?

inglesuniversal avatar Nov 21 '21 05:11 inglesuniversal

Hello

The animation system can be used for any type of JS object. Although it is not its main purpose is can be easily applied to DOM elements.

But I would recommend searching for a dedicated lib such as tween.js or leverage CSS animations.

Cheers

tentone avatar Nov 21 '21 10:11 tentone