2016-12-14 0:23 GMT+01:00 Alex Harui <[email protected]>: > > IMO, if you had a TextNode component, it would be a child just like any > other child and you would define its order the way it should appear in the > DOM. > > <js:Container> > <js:TextNode>This is some text</js:TextNode> > <js:Button /> > <js:TextNode>This is more text</js:TextNode> > </js:Container> > > Would product the DOM > <div>This is some text<button />This is some more text</div> > > So better to remove the InnerHTML bead in favor of a TextNode component right? Less verbose mxml and don't need to mess with properties or listeners. I think I'll take that route...
Thanks! -- Carlos Rovira http://about.me/carlosrovira
