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

NbSidebarComponent has no event emitter for clicked elements #5988

Closed
edinlonic1 opened this issue May 30, 2023 · 1 comment
Closed

NbSidebarComponent has no event emitter for clicked elements #5988

edinlonic1 opened this issue May 30, 2023 · 1 comment

Comments

@edinlonic1
Copy link

Is there any way I can get an event when the user clicks on one of the side menu items?

I am using your theme and I want to use the side bar collapsable/expandable. So whenever the user routes to a new page, the side menu should collapse but it always stays expanded. I couldnt find any setting where I can do it, and im not sure how to manually handle it since it doesnt have any output event emitters for element clicked.

Can anyone advise on how to fix my issue? Thanks!

@edinlonic1
Copy link
Author

Found a workaround

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

No branches or pull requests

1 participant