D3 Tree-Interactive how to detect clicks on nodes both parents and childeren
===

Trying to receive a callback from clicks on node. Currently the example expands a parent node if you click on it to show the children nodes. I would like to be able to click on the child node and receive a call independent from the parent node clicks. But I would need to know which child node was clicked as well. How best would this be done?