dependencies dependencies cluster_ServicesModule cluster_ServicesModule_imports CoreModule CoreModule ServicesModule ServicesModule CoreModule->ServicesModule ServicesDeviceTabModule ServicesDeviceTabModule ServicesDeviceTabModule->ServicesModule

File

services/services.module.ts

Extension points

Providing custom status options

The HOOK_SERVICE_STATUS extension hook allows developers to declare custom service status options and define their visual presentation. It needs to be provided as multi provider in one of your application modules:

@NgModule({
  imports: [...],
  providers: [
    ...,
    {
      provide: HOOK_SERVICE_STATUS,
      useValue: {
        key: 'your-key',
        label: 'Your label',
        icon: 'your-icon',
        class: 'your-css-class-1 your-css-class-1'
      },
      multi: true
    }
  ]
})
export class YourModule {}

You can also define multiple status options at once by providing an array of StatusOptions in your provider.

results matching ""

    No results matching ""