cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are aware of an issue causing intermittent login problems for some users following a recent update. Learn More

Translate the entire conversation x

How to create a class in javascript to trigger CSS animation?

HarshSalvi97
5-Regular Member

How to create a class in javascript to trigger CSS animation?

 
1 REPLY 1

Hello HarshSalvi97,

 

I suppose that you would achieve a thing like explained here :

https://stackoverflow.com/questions/44846614/trigger-css-animations-in-javascript

 

The main problem in Javascript is to have the right GetElement.

In Vuforia Studio, GetElement can be used.

In this post, we can found more details about how to use it :

https://community.ptc.com/t5/Vuforia-Studio/document-getElementById-only-works-for-3D-objects-not-2D/m-p/558536#M3577

 

Best regards,

Samuel

Announcements
Top Tags