/home/workflows/workspace/libs/design-system/buttons/navigation-button/src/lib/navigation-button.component.ts
Navigation button component for global navigation Used in mega menus and mobile menu overlays
| changeDetection | ChangeDetectionStrategy.OnPush |
| host | { |
| selector | hra-navigation-button |
| imports |
HraCommonModule
MatRippleModule
|
| templateUrl | ./navigation-button.component.html |
| styleUrl | ./navigation-button.component.scss |
Inputs |
| indented | |
Default value : false, { transform: booleanAttribute }
|
|
|
Whether to show indent instead |
|
| link | |
Type : string
|
|
| Required : true | |
|
Link URL for the navigation item |
|
| variant | |
Type : NavigationButtonVariant
|
|
Default value : 'basic'
|
|
|
Variant type (cta or menu-item) |
|