Node Mutation Hook Library

A wrapper around MutationObserver to hook into creation of elements (filtered on CSS selector) or removal of nodes.

Detta är versioner av skriptet där koden uppdaterats. Visa alla versioner.

  • v3.0.0 2026-02-19
    • Add ability to have the creation callback be called on existing elements, for convienence
  • v2.1.0 2026-02-16
    • Added a function for hooking into removal too
  • v2.0.0 2026-02-12

    Allow multiple elements with the same selector. Disconnect the observer to stop hooking into new elements created with the selector.

  • v1.0.0 2026-02-06