MooTools - DOM Inserted Event
Posted
by Steve
on Stack Overflow
See other posts from Stack Overflow
or by Steve
Published on 2010-05-10T17:26:09Z
Indexed on
2010/05/10
17:34 UTC
Read the original article
Hit count: 258
mootools
I would like an element to receive an event and perform some action when an element is injected into the DOM. Is there any event available to perform this?
Something like the following:
new Element('div', {
events : {
insertedIntoDom : function() {
// Do something
}
}
})
Thanks
© Stack Overflow or respective owner