0.1.6 • Published 2 years ago

mutation-initialiser v0.1.6

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
2 years ago

MutationInitialiser

This provides a wrapper around MutationObserver to initialise elements on a page as they are inserted into the document.

Alternatives are:

  • To simply receive a promise for when an element is loaded into the document, consider elementLoaded().
  • To simply handle an event for an element that does not exist yet, consider using event delegation.
  • For more complicated cases, use MutationObserver directly.
  • For building custom elements, consider Web Components.

API documentation is missing whilst this is under development. Feel free to browse the examples.

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago