You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/decorators/display.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,8 @@ The following example illustrates how to implement a dropdown menu with a list o
101
101
-`title` - The text label for the menu item
102
102
-`link` (optional) - A URL or path that the item will link to when clicked
103
103
-`striped` (optional) - When set to true, adds alternating background colors to list items for better visual separation
104
-
-`height` (optional) - Sets a maximum height in pixels, after which the content becomes scrollable
104
+
-`height` (optional) - Sets height in pixels for the dropdown menu
105
+
-`max_height` (optional) - Sets a maximum height in pixels, after which the content becomes scrollable
105
106
-`width` (optional) - Defines the dropdown's width in pixels for precise layout control
106
107
107
108
The dropdown menu automatically positions itself below the trigger element and includes built-in behavior to close when clicking outside the menu or selecting an item.
0 commit comments