From 86a3414d3de419c5188b359d8c4de1071502caaa Mon Sep 17 00:00:00 2001 From: sunhao Date: Mon, 15 Jul 2024 08:59:35 +0800 Subject: [PATCH] * dropdown: change dev example. --- lib/dropdown/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/lib/dropdown/README.md b/lib/dropdown/README.md index 27424fa54a..9f16cde732 100644 --- a/lib/dropdown/README.md +++ b/lib/dropdown/README.md @@ -14,6 +14,22 @@ ## 动态下拉菜单 +通过 `zui-toggle-dropdown` 初始化: + +```html:example: -flex -gap-3 overflow-visible + +``` + 通过 JS 动态弹出下拉菜单 ```html:example: -flex -gap-3 overflow-visible