Add both Href & OnClick functionality to MudNavLink similar to MudLink #7689
Unanswered
MarkLuhring
asked this question in
Q&A
Replies: 2 comments 1 reply
-
I found a work around that seems to work. I can wrap the MudNavLink in a div and have an @OnClick on the div. |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can make a PR with explaining your case and why is this necessary / should work this way. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to use the Href on my MudNavLinks so the user has the option of using items in the context menu when right clicking. I would also like there to be an OnClick event that can fire a c# method to do some additional work when the link is clicked. The MudLink appears to have this functionality. With the MudNavLink it's one or the other but not both.
Can this be added or is there a work around to get this to work?
Beta Was this translation helpful? Give feedback.
All reactions