I have found Agility.js library and I like the way it creates and manipulates objects. However, in all examples, objects are appended to the document (expressed as $$.document).
Is it possible to append the object to custom element (i.e tell the view to insert the HTML tag in the custom element).
Marc’s approach may work, but what I’ve always done is:
Basically the second argument to append gives you the ability to pick a selector to shove the new DOM elements in to. Not very intuitive but seems to work OK in my experience.