Automatic observation

You can turn on automatic observation via the MutationObserver API. Not supported in Opera and IE10 and below. (experimental)


Considering not all browsers support this, you can set up fallbacks via:

if (!$.onmount.observe()) {
    .on(' load', $.onmount)

While this is convenient, it is not recommended as it can accrue some performance penalty by checking every DOM insertion that happens in realtime. Consider this an experimental feature and subject to future optimizations.