superframe icon indicating copy to clipboard operation
superframe copied to clipboard

look-at component and setAttribute

Open bizzell opened this issue 7 years ago • 1 comments

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?

bizzell avatar Oct 18 '18 11:10 bizzell

https://github.com/supermedium/superframe/issues/217 might be interesting for you if you are still looking.

janpio avatar Feb 05 '19 03:02 janpio