The hookServiceStatus
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: [
...,
hookServiceStatus({
key: 'your-key',
label: 'Your label',
icon: 'your-icon',
class: 'your-css-class-1 your-css-class-1'
})
]
})
export class YourModule {}
You can also define multiple status options at once by providing an array of StatusOptions
in your provider.