widgets/implementations/linear-gauge/linear-gauge-widget-config/linear-gauge-widget-config.component.ts
OnInit
OnBeforeSave
selector | c8y-linear-gauge-widget-config |
standalone | true |
imports |
DatapointSelectorModule
ReactiveFormsModule
CoreModule
|
templateUrl | ./linear-gauge-widget-config.component.html |
Properties |
Methods |
Inputs |
constructor(formBuilder: FormBuilder, form: NgForm, widgetConfig: WidgetConfigComponent)
|
||||||||||||
Parameters :
|
config |
Type : LinearGaugeWidgetConfig
|
ngOnInit |
ngOnInit()
|
Returns :
void
|
onBeforeSave | ||||||
onBeforeSave(config?: LinearGaugeWidgetConfigComponent)
|
||||||
Parameters :
Returns :
boolean | Promise | Observable
|
datapointSelectionConfig |
Type : Partial<DatapointSelectorModalOptions>
|
Default value : {}
|
defaultFormOptions |
Type : Partial<DatapointAttributesFormConfig>
|
Default value : {
showRedRange: true,
showYellowRange: true,
showRange: true,
showTarget: true
}
|
formGroup |
Type : ReturnType<>
|