Menu content¶
s-menu-content contains a content for specific menu layer/level.
Note: s- stands for storefront. This is naming convention used for every webcomponent as they must have a two-part name.
Attributes¶
| Attribute name | Type | Default | Description |
|---|---|---|---|
| contentId | string | ||
| contentLevel | string | ||
| parentContentName | string | ||
| parentContentId | string | ||
| goBackActionId | string | ||
| parentContentUrl | string |
Methods¶
| Property name | Description |
|---|---|
| show | show content |
| hide | hide content |
DOM events¶
This webcomponent dispatches the following DOM events: