This library is an extension for jQuery which allows observing mutation changes.
- Support for DOM 4 Mutation Observer API.
- Listen to
insert
,remove
,change
andsubtreeChange
events.
- jquery.js (>= 2.1.0)
$(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.