Open jyprksh001 opened 7 years ago
I have a situation where i am appending elements using jquery to a-scene with click-drag component to the element. but after appending it doesn't fire any event on drag or drop or click. Please help
suppose you are creating a sphere var sphere = document.createElement("a-sphere"); ` sphere.setAttribute("click-drag", true);
this will do the trick :)
I have a situation where i am appending elements using jquery to a-scene with click-drag component to the element. but after appending it doesn't fire any event on drag or drop or click. Please help