Light Mode
Menu
The <salla-menu>
web component displays a nested list items that either appear on the header section or footer section.
:::tip[API Usage]
Learn more about the Menu API usage from here
:::
Example
![Image](https://cdn.salla.network/docs/twilight/6/js-web-menu-header-01.png) ![Image](https://cdn.salla.network/docs/twilight/6/js-web-menu-footer-01.png)Usage
<salla-menu source="footer"></salla-menu>
This JS web component can be targeted for styling by its :host
class. Following is a complete source code for customizing this component:
:host {
display: block;
}
Properties
Property | Attribute | Type | Default |
---|---|---|---|
Source | source |
Sources.Footer | Sources.Header |
Sources.Header |
Source Value | source-value |
string |
undefined |
Top Navigation Bar | topnav |
boolean |
undefined |
Use React Link | use-react-link |
boolean |
false |
Last modified: 2 months ago
Example
Usage
Properties