ngContextMenu icon indicating copy to clipboard operation
ngContextMenu copied to clipboard

Clicking on menu link ,not calling parent scope callback

Open maheshchari opened this issue 10 years ago • 2 comments

In the menu template i have a link

  • {{select()}}Delete
  • in the parent scope i have select () method, but it is not calling

    can you please tell me how to call a method in when click on menu links . It is not in demo also.

    maheshchari avatar Nov 14 '14 06:11 maheshchari

    I've pushed a few changes which should make it easier to invoke methods – please see the example. Prior to this change you'd need to add the method to every model, which is far from ideal.

    Let me know if it works! :+1:

    Wildhoney avatar Nov 16 '14 12:11 Wildhoney

    Does this work for you?

    Wildhoney avatar Dec 30 '14 22:12 Wildhoney