angular-tree-component icon indicating copy to clipboard operation
angular-tree-component copied to clipboard

Unable to use click in action mapping

Open EmperorBlack opened this issue 4 years ago • 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.

EmperorBlack avatar Aug 04 '21 14:08 EmperorBlack