Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: add example how to handle click on context menu #265

Closed
1 of 2 tasks
nnixaa opened this issue Feb 22, 2018 · 4 comments · Fixed by #371
Closed
1 of 2 tasks

Docs: add example how to handle click on context menu #265

nnixaa opened this issue Feb 22, 2018 · 4 comments · Fixed by #371

Comments

@nnixaa
Copy link
Collaborator

nnixaa commented Feb 22, 2018

Issue type

I'm submitting a ... (check one with "x")

  • bug report
  • feature request

Issue description

Subj.

@weijyewang
Copy link

weijyewang commented Mar 29, 2018

Hi, is this implemented? Or it is just lacking in documentation

@Tibing
Copy link
Member

Tibing commented Mar 29, 2018

Hi @weijyewang, this is already implemented. As you can see in the docs - context menu can receive nbContextMenuTag. Then you can subscribe to the menu events through menu service and handle only events with context menu tag.
We'll add this in the documentation as soon as possible.

@Tibing Tibing added the faq label Mar 29, 2018
@weijyewang
Copy link

weijyewang commented Mar 29, 2018

@Tibing Thanks for the reply. Is there any code snipet i can refer to?

@lorentzyip
Copy link

Hi @Tibing. I've just checked the source of 2.0.0 rc6 bundled with ngx-admin. Seems nbContextMenuTag has been removed from the context-menu.directive?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants