jQuery plugin for handling DOM 4 lifecycle events with Mutation Observers
MIT License
This library is an extension for jQuery which allows observing mutation changes.
insert
, remove
, change
and subtreeChange
events.$(element).lifecycle({
insert: function() { ... },
remove: function() { ... },
change: function(attribute, value) { ... },
subtreeChange: function(node) { ... }
});
$(element).unlifecycle();
Copyright (c) 2013-2014 Mateus Maso. Released under an MIT license.