In my app, I create many dynamically objects. some of them needs to be initialized AFTER they are added to the DOM.
I want them to be "smart" and execute some code only when they are added to the dom.
o/c - i can execute the code manually, after insertion. but i am trying to avoid it.
can it be done?
how?