-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
I've got some code that is dependent on an element having already been rendered in the DOM, but don't necessarily know when it will be be inserted. I thought it might be handy to have DOM manipulation events. E.g.:
var elem = Doom.create({
onInsert: function() {
console.log(elem.offsetWidth);
}
});What d'ya reckon?