-
Notifications
You must be signed in to change notification settings - Fork 14
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
Problem with menu closing after clicking on parent. #8
Comments
@AndreyKachanov |
Hi. Yes, but,
Like in this video for example. Kazam_screencast_00005.mp4 |
@AndreyKachanov plus if i understood your explanation correctly two things can be done: {
name: "Styling",
icon: { class: "material-icons", text: "color_lens" },
href: { path: "/styles/sass"}, // can also be vue-router object,
collapseOnClick?: boolean //collapses menu when clicked - this behavior can also be achieved with Events
children: [
{
name: "Sass Vars",
href: { path: "/styles/sass"},
icon: { class: "material-icons", text: "colorize" },
},
{
name: "Css",
href: { path: "/styles/css"},
icon: { class: "material-icons", text: "css" },
},
],
}, |
After clicking on an item, I need to close the menu. I can do this via the event @item-click. (set collapsed=true).
My parent menu items also contains href: '/...'. I use vueRouterEnabel.
And how do I make it so that when you click on the parent, you can:
The text was updated successfully, but these errors were encountered: