NavbarVerticalItemGroup Type documentation¶
| Use this type to create a group that can hold multiple items. | |||||||||
|---|---|---|---|---|---|---|---|---|---|
|
Types Documentation¶
| Common properties shared among navbar item types. | ||||||
|---|---|---|---|---|---|---|
|
Property Badge that is rendered after the label or as a red dot in the collapsed state. |
|---|
Property Color of the badge. Use any color shown here https://element.siemens.io/components/status-notifications/badges/#example without bg- prefix. |
|---|
| Union type for all items that can be wrapped in a group. |
|---|
icon? Property Optional icon that will be rendered before the label. |
|---|
id? Property The ID is required if the navbar is used with UIState. |
|---|
| Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit . Equivalent to a normal string in usage and functionality. |
|---|
Property Label that is shown to the user. |
|---|
| Use this type to create a routerLink item. | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
| Use this type to create an href link that will cause a real navigation. | |||||||||
|---|---|---|---|---|---|---|---|---|---|
|
| AVOID USING THIS TYPE! Actions inside the navbar are an indication for a code smell. Use NavbarVerticalItemRouterLink instead whenever possible. | |||||||||
|---|---|---|---|---|---|---|---|---|---|
|
Translatable import imported from @siemens/element-translate-ng |
|---|
Except where otherwise noted, content on this site is licensed under MIT License.