superframe
superframe copied to clipboard
look-at component and setAttribute
Hi. I've been trying to programmatically append the 'look-at' attribute and it's value (selector) to an a-frame element like this:
el.setAttribute('look-at', '#camera')
The attribute does get set ok, but not the value. Am I missing something?
https://github.com/supermedium/superframe/issues/217 might be interesting for you if you are still looking.