src/modules/app-menu/components/app-menu.component.ts
Component to display app-menu based on the options passed as parameters.
OnInit
changeDetection | ChangeDetectionStrategy.OnPush |
encapsulation | ViewEncapsulation.None |
host | { |
selector | stark-app-menu |
templateUrl | ./app-menu.component.html |
Properties |
|
Methods |
|
Inputs |
Accessors |
Public
constructor(logger: StarkLoggingService, routingService: StarkRoutingService, renderer: Renderer2, elementRef: ElementRef)
|
||||||||||||||||||||
Class constructor
Parameters :
|
menuConfig | |
Type : StarkMenuConfig
|
|
Configuration of the menu |
color | |
Type : string
|
|
Inherited from
AbstractStarkUiComponent
|
|
Defined in
AbstractStarkUiComponent:16
|
|
Color theme |
Public ngOnInit |
ngOnInit()
|
Inherited from
AbstractStarkUiComponent
|
Defined in
AbstractStarkUiComponent:71
|
Component lifecycle hook
Returns :
void
|
Public hasSections |
Default value : false
|
Either the component have section or not |
Public logger |
Type : StarkLoggingService
|
Decorators :
@Inject(STARK_LOGGING_SERVICE)
|
- The `StarkLoggingService` instance of the application.
|
Public routingService |
Type : StarkRoutingService
|
Decorators :
@Inject(STARK_ROUTING_SERVICE)
|
- The `StarkRoutingService` instance of the application.
|
menuConfig | ||||||
getmenuConfig()
|
||||||
setmenuConfig(menuConfig: StarkMenuConfig)
|
||||||
Configuration of the menu
Parameters :
Returns :
void
|