Hi Folks,
I have a control that renders to something like:
I want to add a new node before the "h1" node. If I use something like this.$.header.createComponent(), the new component is added after the h1. Anyone has an idea to add it before a given node?
Cheers
andre
Comments
2) For this, you could use the addBefore property of enyo.Component. You set it to the component you want to immediately follow the one you're adding.