setMutationHandler

MutationObserver wrapper to wait for the specified CSS selector

Tästä skriptistä on versioita, joissa koodia päivitettiin. Näytä kaikki versiot.

  • v3.0.2 14.2.2017 fixup
  • v3.0.1 13.2.2017 Invocation form added: a single object parameter that contains all options, selector, target, etc
  • v3.0.0 11.2.2017 Add processExistingAndSetMutationHandler
  • v2.1.1 10.2.2017 Allow omitting baseNode parameter, document is used by default
  • v2.1.0 10.2.2017 Use the fast getElementById when a single #some-id selector is provided
  • v2.0.9 10.10.2016 fix concat in case of 1000+ nodes
  • v2.0.8 14.8.2016
  • v2.0.7 22.7.2016 Correctly process mutations with TEXT and ELEMENT nodes mixed
  • v2.0.6 20.7.2016 speedup
  • v2.0.5 11.7.2016 Postpone to next eventtask processing of large mutation batches > 100 records
  • v2.0.4 13.10.2015 correctly process appended/replaced text nodes of a matching node
  • v2.0.3 13.10.2015 fixup
  • v2.0.2 13.10.2015 fixup
  • v2.0.1 13.10.2015 correctly process different mutation types
  • v2 12.10.2015 Remove 'observer' parameter and pass it implicitly as 'this', pass 'nodes' as Array
  • v1 12.9.2015 return the observer object
  • v1 5.9.2015