diff --git a/docs/en-US/component/menu.md b/docs/en-US/component/menu.md index 09eb873d6c..23e358f19f 100644 --- a/docs/en-US/component/menu.md +++ b/docs/en-US/component/menu.md @@ -122,19 +122,20 @@ menu/popper-offset ### SubMenu Attributes -| Name | Description | Type | Default | -| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | --------- | -| index ^(required) | unique identification | ^[string] | — | -| popper-class | custom class name for the popup menu | ^[string] | — | -| show-timeout | timeout before showing a sub-menu(inherit `show-timeout` of the menu by default.) | ^[number] | — | -| hide-timeout | timeout before hiding a sub-menu(inherit `hide-timeout` of the menu by default.) | ^[number] | — | -| disabled | whether the sub-menu is disabled | ^[boolean] | false | -| teleported | whether popup menu is teleported to the body, the default is true for the level one SubMenu, false for other SubMenus | ^[boolean] | undefined | -| popper-offset | offset of the popper (overrides the `popper` of menu) | ^[number] | — | -| expand-close-icon | Icon when menu are expanded and submenu are closed, `expand-close-icon` and `expand-open-icon` need to be passed together to take effect | ^[string] / ^[Component] | — | -| expand-open-icon | Icon when menu are expanded and submenu are opened, `expand-open-icon` and `expand-close-icon` need to be passed together to take effect | ^[string] / ^[Component] | — | -| collapse-close-icon | Icon when menu are collapsed and submenu are closed, `collapse-close-icon` and `collapse-open-icon` need to be passed together to take effect | ^[string] / ^[Component] | — | -| collapse-open-icon | Icon when menu are collapsed and submenu are opened, `collapse-open-icon` and `collapse-close-icon` need to be passed together to take effect | ^[string] / ^[Component] | — | +| Name | Description | Type | Default | +| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | --------- | +| index ^(required) | unique identification | ^[string] | — | +| popper-class | custom class name for the popup menu | ^[string] | — | +| popper-style ^(2.11.5) | custom style for the popup menu | ^[string] / ^[object] | — | +| show-timeout | timeout before showing a sub-menu(inherit `show-timeout` of the menu by default.) | ^[number] | — | +| hide-timeout | timeout before hiding a sub-menu(inherit `hide-timeout` of the menu by default.) | ^[number] | — | +| disabled | whether the sub-menu is disabled | ^[boolean] | false | +| teleported | whether popup menu is teleported to the body, the default is true for the level one SubMenu, false for other SubMenus | ^[boolean] | undefined | +| popper-offset | offset of the popper (overrides the `popper` of menu) | ^[number] | — | +| expand-close-icon | Icon when menu are expanded and submenu are closed, `expand-close-icon` and `expand-open-icon` need to be passed together to take effect | ^[string] / ^[Component] | — | +| expand-open-icon | Icon when menu are expanded and submenu are opened, `expand-open-icon` and `expand-close-icon` need to be passed together to take effect | ^[string] / ^[Component] | — | +| collapse-close-icon | Icon when menu are collapsed and submenu are closed, `collapse-close-icon` and `collapse-open-icon` need to be passed together to take effect | ^[string] / ^[Component] | — | +| collapse-open-icon | Icon when menu are collapsed and submenu are opened, `collapse-open-icon` and `collapse-close-icon` need to be passed together to take effect | ^[string] / ^[Component] | — | ### SubMenu Slots