CirclonGroup/angular-tree-component

Unable to use click in action mapping

EmperorBlack opened this issue · 0 comments

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.