angular-tree-component
angular-tree-component copied to clipboard
Unable to use click in action mapping
this.options = { childrenField: 'categoryChildren', allowDrag: (node) => { return ( node.data.parentId )}, allowDrop: true, actionMapping: { mouse: {
click: (tree, node, $event) =>{
console.log("calling click");
}
}
},
};
but while clicking over nodes this click method never calls this console. please help.