mirror of
https://github.com/element-plus/element-plus.git
synced 2025-02-17 11:49:41 +08:00
docs: [menu] fix descriptions for deprecated attributes (#17752)
Fix descriptions for deprecated attributes for Menu component '--bg-color', '--text-color' and '--active-color' do nothing during styling, because the corrent name is '--el-menu-bg-color' and etc. Description is corrected and expanded.
This commit is contained in:
parent
333e1f9c42
commit
9a6c8021bd
@ -72,9 +72,9 @@ menu/popper-offset
|
||||
| ellipsis | whether the menu is ellipsis (available only in horizontal mode) | ^[boolean] | true |
|
||||
| ellipsis-icon ^(2.4.4) | custom ellipsis icon (available only in horizontal mode and ellipsis is true) | ^[string] / ^[Component] | — |
|
||||
| popper-offset ^(2.4.4) | offset of the popper (effective for all submenus) | ^[number] | 6 |
|
||||
| background-color ^(deprecated) | background color of Menu (hex format) (deprecated, use `--bg-color` instead) | ^[string] | #ffffff |
|
||||
| text-color ^(deprecated) | text color of Menu (hex format) (deprecated, use `--text-color` instead) | ^[string] | #303133 |
|
||||
| active-text-color ^(deprecated) | text color of currently active menu item (hex format) (deprecated, use `--active-color` instead) | ^[string] | #409eff |
|
||||
| background-color ^(deprecated) | background color of Menu (hex format) (deprecated, use `--el-menu-bg-color` in a style class instead) | ^[string] | #ffffff |
|
||||
| text-color ^(deprecated) | text color of Menu (hex format) (deprecated, use `--el-menu-text-color` in a style class instead) | ^[string] | #303133 |
|
||||
| active-text-color ^(deprecated) | text color of currently active menu item (hex format) (deprecated, use `--el-menu-active-color` in a style class instead) | ^[string] | #409eff |
|
||||
| default-active | index of active menu on page load | ^[string] | '' |
|
||||
| default-openeds | array that contains indexes of currently active sub-menus | ^[object]`string[]` | [] |
|
||||
| unique-opened | whether only one sub-menu can be active | ^[boolean] | false |
|
||||
|
Loading…
Reference in New Issue
Block a user