onNodeInsertion
Listen for insertion mutations on the given node.
onNodeInsertion( node, callback )
Parameters
- node
{Node}:The node on which to listen for insertion mutations.
- callback
{function}:The callback called when an insertion mutation is dispatched.
Returns
{function}:
The callback to remove the mutation listener.