done-mutation-observer
v1.0.2
Published
A quasi mutation observer polyfill (sort of)
Downloads
418
Readme
done-mutation-observer
Usage
ES6 use
With StealJS, you can import this module directly in a template that is autorendered:
import plugin from 'done-mutation-observer';
CommonJS use
Use require
to load done-mutation-observer
and everything else
needed to create a template that uses done-mutation-observer
:
var plugin = require("done-mutation-observer");
Standalone use
Load the global
version of the plugin:
<script src='./node_modules/done-mutation-observer/dist/global/done-mutation-observer.js'></script>