NavbarVerticalItemAction Type documentation¶
AVOID USING THIS TYPE! Actions inside the navbar are an indication for a code smell. Use NavbarVerticalItemRouterLink instead whenever possible. | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
Types Documentation¶
Common properties shared among navbar item types. | ||||||
---|---|---|---|---|---|---|
|
Use this type to create a routerLink item. | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
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. |
---|
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. |
---|
Translatable import imported from @siemens/element-translate-ng |
---|
Except where otherwise noted, content on this site is licensed under MIT License.