mutation_observer 0.9.0+2 copy "mutation_observer: ^0.9.0+2" to clipboard
mutation_observer: ^0.9.0+2 copied to clipboard

Dart 1 only

*Deprecated* newer version is in web_components package.

Mutation Observers polyfill #

Mutation Observers provide a way to react to changes in the DOM. This is needed on IE versions 9 and 10, see http://caniuse.com/mutationobserver.

More information #

Getting started #

Include the polyfill in your HTML <head>:

    <script src="packages/mutation_observer/mutation_observer.js"></script>

You can also use a minified version for deployment:

    <script src="packages/mutation_observer/mutation_observer.min.js"></script>

Getting the source code #

The source for this package is at: https://code.google.com/p/dart/source/browse/branches/bleeding_edge/dart/pkg/mutation_observer/

The original source of the JavaScript code is at: https://github.com/Polymer/MutationObservers/tree/master

Building #

The minified version is produced with:

    uglifyjs mutation_observer.js -o mutation_observer.min.js

See https://github.com/mishoo/UglifyJS2 for usage of UglifyJS.

0
likes
10
pub points
0%
popularity

Publisher

unverified uploader

*Deprecated* newer version is in web_components package.

Homepage

License

BSD-3-Clause (LICENSE)

More

Packages that depend on mutation_observer