-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
Left Nav Routes and event handlers #1787
Comments
@hackingbeauty you have defined an onChange(e, key, payload) {
<some_instance_of_react_router>.transitionTo(payload.route);
} Of course, you need to set up React router and define the routes. Here's a basic example on how to do so. You can also look at how routing is done in the source code for the docs, namely the |
Yes, I have defined onChange; however, onChange doesn't seem to work.
Any ideas? |
If you debug with developer tools on Chrome or something, does the console say anything? (warnings / errors) |
Did anything ever come of this? I cannot get any item in LeftNav to respond to a click either. |
Also, adding @oliviertassinari and @hai-cea so they can look into this.. |
LeftNav now supports nested children, which is the preferred usage. the actionJSON will soon be deprecated. |
So how can we use this? Can I put React components inside of the LeftNav now? |
Yes, you can pretty much put anything in it, just like a |
Hi, I'm trying to specify an action when a user clicks on an item in the LeftNav component; however, nothing is happening.
How do I attach behavior to a link in the LeftNav?
The text was updated successfully, but these errors were encountered: