https://github.com/donejs/done-mutation-observer
Add mutation observer support to can-simple-dom and jsdom DOM implementations
https://github.com/donejs/done-mutation-observer
Last synced: 5 months ago
JSON representation
Add mutation observer support to can-simple-dom and jsdom DOM implementations
- Host: GitHub
- URL: https://github.com/donejs/done-mutation-observer
- Owner: donejs
- License: mit
- Created: 2018-07-24T15:44:21.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-01T14:14:04.000Z (about 6 years ago)
- Last Synced: 2025-02-01T05:33:22.412Z (5 months ago)
- Language: JavaScript
- Size: 36.1 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# done-mutation-observer
[](https://github.com/donejs/done-mutation-observer/blob/master/LICENSE)
[](https://www.npmjs.com/package/done-mutation-observer)
[](https://travis-ci.org/donejs/done-mutation-observer)## Usage
### ES6 use
With StealJS, you can import this module directly in a template that is autorendered:
```js
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`:```js
var plugin = require("done-mutation-observer");
```### Standalone use
Load the `global` version of the plugin:
```html
```