Add HTML attribute to element

Right now if I want to add an attribute to, say, a rectangle element in Hype, I have to use javascript like this:
hypeDocument.getElementById('box').setAttribute('ng-show', 'loaded');

It would be extremely helpful if we could add one or more attributes to the selected element in the Identity tab. A common use case would be when integrating an animation into an existing app (like angular), we can assign data-my-property: 'My Value' or ng-hide: 'isHidden'.

It would be very cool if we could set this at the scene level - since it’s just a div.

I moved a post to an existing topic: Data attribute support

This topic is now unlisted. It will no longer be displayed in any topic lists. The only way to access this topic is via direct link.

Thanks for the request! I’ve added this to our feature tracker.