Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 12 days 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-01T14:14:04.000Z (over 5 years ago)
- Last Synced: 2024-10-28T15:28:26.146Z (23 days 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
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/donejs/done-mutation-observer/blob/master/LICENSE)
[![npm version](https://badge.fury.io/js/done-mutation-observer.svg)](https://www.npmjs.com/package/done-mutation-observer)
[![Build Status](https://travis-ci.org/donejs/done-mutation-observer.svg?branch=master)](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
```