Menu | Element to display the menu
shadow
The menu element is used to display the navigation. It is hidden by default and is displayed by adding the active
attribute, for example, when a button is clicked. It consists of MenuItem. elements.
Description | If true , activates the menu and makes it visible by adding display: "flex" . |
Attribute | active |
Type | boolean |
Default | false |
Description | If true , the menu is in the collapsed state. |
Attribute | collapse |
Type | boolean |
Default | false |
Description | Specifies the size of the submenu indentation. |
Attribute | offset |
Type | string | undefined |
Default | 0 |
No events available for this component.
No public methods available for this component.
Name | Description |
---|
native | Refers to a div element inside an element. |
Name | Description |
---|
--wj-menu-background | Background colour of the element |
--wj-menu-border-color | Colour of element edges |
--wj-menu-border-radius | Rounding of the edges of the element |
--wj-menu-border-style | Rounding style of the element |
--wj-menu-border-width | Width of the edges of the element |
--wj-menu-padding-bottom | Lower internal offset of the element |
--wj-menu-padding-inline | Internal offset of the element left and right |
--wj-menu-padding-top | Upper internal offset of the element |
--wj-menu-from-index | Z-index of the element |
No slots available for this component.