global-context/integration/context-controls/context-controls.component.ts
| selector | c8y-context-controls |
| standalone | true |
| imports |
ReactiveFormsModule
DateTimeContextPickerComponent
AggregationPickerComponent
AutoRefreshControlComponent
IconDirective
C8yTranslatePipe
TooltipModule
|
| template | |
Properties |
Methods |
Inputs |
Outputs |
constructor()
|
| config |
Type : GlobalContextState
|
| Required : true |
| controls |
Type : PresetName | PresetDefinition
|
Default value : PRESET_NAME.DEFAULT
|
| displayMode |
Type : DisplayMode
|
Default value : GLOBAL_CONTEXT_DISPLAY_MODE.DASHBOARD
|
| isLoading |
Type : boolean
|
Default value : false
|
| configChange |
Type : { context: GlobalContextState; diff: GlobalContextState }
|
| refresh |
Type : void
|
| onRefresh |
onRefresh()
|
|
Returns :
void
|
| autoRefreshSeconds |
Type : unknown
|
Default value : computed(
() => this.config().refreshInterval || GLOBAL_CONTEXT_DEFAULTS.REFRESH_INTERVAL
)
|
| form |
Type : FormGroup
|