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