watchMyDom is a JavaScript library that tracks DOM changes and triggers a callback function when the DOM is changed.
How to make use of it:
1. Download and include the watchmydom.js
from the build folder.
<script src="build/watchmydom.js"></script>
2. Initialize the watchMyDom and decide the aspect through which you need to observe DOM adjustments.
<div id="example"></div>
var watchIt = new watchMyDom("#example");
3. Trigger a perform when the DOM adjustments. Parameters:
watchIt.watch(function (result, info) { alert('dom added'); });
4. Start the observer.
watchIt.watch();
5. Stop the observer.
watchIt.stop();
Track DOM Changes Using The watchMyDom Library, watch my dom Plugin/Github
See Demo And Download
Official Website(saifKeralite): Click Here
This superior jQuery/javascript plugin is developed by saifKeralite. For extra Advanced Usages, please go to the official website.
Be First to Comment