onInsertion
Listen for insertion mutations on any node within the documentElement.
onInsertion( documentElement, callback )
Parameters
- documentElement
{Node}:The documentElement on which to listen for removal mutations.
- callback
{function}:The callback called when a insertion mutation is dispatched.
Returns
{function}:
The callback to remove the mutation listener.