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
{{ message }}
Repository navigation
Commit c5df26f
Browse filesBrowse the repository at this point in the historyBrowse files
|`[nzDropdownMenu]`| Dropdown menu |`NzDropdownMenuComponent`| -|
25
+
|`[nzDisabled]`| whether the dropdown menu is disabled |`boolean`| -|
26
+
|`[nzPlacement]`| placement of pop menu|`'bottomLeft' \| 'bottomCenter' \| 'bottomRight' \| 'topLeft' \| 'topCenter' \| 'topRight'`|`'bottomLeft'`|
27
+
|`[nzTrigger]`| the trigger mode which executes the drop-down action |`'click' \| 'hover'`|`'hover'`|
28
+
|`[nzClickHide]`| whether hide menu when click |`boolean`|`true`|
29
+
|`[nzVisible]`| whether the dropdown menu is visible, double binding |`boolean`| -|
30
+
|`[nzOverlayClassName]`| Class name of the dropdown root element |`string`| -|
31
+
|`[nzOverlayStyle]`| Style of the dropdown root element |`object`| -|
32
+
|`(nzVisibleChange)`| a callback function takes an argument: `nzVisible`, is executed when the visible state is changed |`EventEmitter<boolean>`| -|
33
33
34
34
You should use [nz-menu](/components/menu/en) in `nz-dropdown`. The menu items and dividers are also available by using `nz-menu-item` and `nz-menu-divider`.
35
35
36
36
> Note: `[nz-menu]` of `nz-dropdown` is unselectable by default, you can make it selectable via `<ul nz-menu nzSelectable>`.
37
37
>
38
38
> The `nzMode` of `[nz-menu]` inside `nz-dropdown-menu` can only be the default value `vertical`.
39
39
40
-
### nz-dropdown-menu
40
+
### nz-dropdown-menu:standalone
41
41
42
42
Wrap Dropdown Menu and pass to `[nz-dropdown]` and `NzContextMenuService`, you can export it via Template Syntax `nzDropdownMenu`
43
43
@@ -58,7 +58,7 @@ Wrap Dropdown Menu and pass to `[nz-dropdown]` and `NzContextMenuService`, you c
58
58
59
59
Create dropdown with contextmenu, the detail can be found in the example above
60
60
61
-
| Property | Description | Arguments | Return Value |
0 commit comments