Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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

```