CirclonGroup / angular-tree-component

A simple yet powerful tree component for Angular (>=2)

Home Page:https://angular2-tree.readme.io/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to use click in action mapping

EmperorBlack opened this issue · 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.