From 4f4ef05b9d9252d8cef9d77226641b4bfa316055 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20T=C4=83b=C4=83citu?= Date: Thu, 31 Aug 2023 09:17:38 +0300 Subject: [PATCH] mention nested dropdowns --- 6.x/base-components.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/6.x/base-components.md b/6.x/base-components.md index f5f5f0fd..8f61b769 100644 --- a/6.x/base-components.md +++ b/6.x/base-components.md @@ -74,7 +74,9 @@ To show a dropdown menu, with elements, you can use the `menu-dropdown` and `men ``` -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;