Isn't the element already inserted into the DOM at that point?
I'd like to manipulate before that happens.
Here's another simple example. Let's say I was creating a
carousel slider of pictures. Here's what I envision the DOM
initially looking like.
-
<my-carousel><img src='a.jpg'/><img src='b.jpg'/><img src='c.jpg'/><img src='d.jpg'/></my-carousel>
In this instance I'd like to be able to wrap some image tags
with my custom tag and have it grab all the images generate a slider.