Skip to content

Commit

Permalink
Document event type
Browse files Browse the repository at this point in the history
  • Loading branch information
bregenspan committed Apr 8, 2019
1 parent 83adbbb commit 2b53d43
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions client/components/Treemap.jsx
Expand Up @@ -89,6 +89,12 @@ export default class Treemap extends Component {
};
}
},
/**
* Handle Foamtree's "group clicked" event
* @param {FoamtreeEvent} event - Foamtree event object
* (see https://get.carrotsearch.com/foamtree/demo/api/index.html#event-details)
* @returns {void}
*/
onGroupClick(event) {
preventDefault(event);
if ((event.ctrlKey || event.secondary) && props.onGroupSecondaryClick) {
Expand Down

0 comments on commit 2b53d43

Please sign in to comment.