-
Notifications
You must be signed in to change notification settings - Fork 39
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
Expandable navlist: expanded false #625
Comments
@ITSYV Can you provide a copyable code example? |
@jeffchown This is the code I'm working on now:
|
@ITSYV For anyone to be able to help, the code sample needs to be without any dependencies (e.g. your |
@jeffchown editted |
See #626 (comment) |
@jeffchown what does this have to do with Livewire? It's a prop on a blade element from Flux? |
@ITSYV You're correct. My answer applies to your other issue. Re:
|
When using an expandable navlist, the list is automatically opened.
You can close it by using the "expanded" prop (not documented at this moment).
The prop is set to true by default. When trying to close it for a specific item you have to use
expanded=""
as in the code@if ($expanded)
is used.Maybe an idea to switch the prop to "closed = false" instead of "expanded" so we can just use "closed" on the navbar element?
The text was updated successfully, but these errors were encountered: