Skip to content

Commit

Permalink
mention nested dropdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
tabacitu authored Aug 31, 2023
1 parent 18aa96f commit 4f4ef05
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 6.x/base-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ To show a dropdown menu, with elements, you can use the `menu-dropdown` and `men
</x-backpack::menu-dropdown>
```

Note that you can further customize both components using custom attributes. If you define a `target` on one, that will be passed down to the `a` element.
Notes:
- on `menu-dropdown` you can define `nested="true"` to flag that dropdown as nested (aka. having a parent); so you can have dropdown in dropdown in dropdown;
- on both components, you can also define custom attributes; eg. if you define a `target` on one, that will be passed down to the `a` element;

<hr>

Expand Down

0 comments on commit 4f4ef05

Please sign in to comment.