Skip to content

Add mutation observer support to can-simple-dom and jsdom DOM implementations

License

Notifications You must be signed in to change notification settings

donejs/done-mutation-observer

Repository files navigation

done-mutation-observer

License: MIT npm version Build Status

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>

About

Add mutation observer support to can-simple-dom and jsdom DOM implementations

Resources

License

Stars

Watchers

Forks

Packages

No packages published