components/control-panel/control-panel.component.ts
Control panel form fields and buttons to call response spectra service.
OnInit
OnDestroy
selector | app-control-panel |
imports |
NshmpLibNgGmmMenuComponent
NshmpLibNgGmmPlotOptionsControlPanelComponent
NshmpLibNgGmmMultiParamMenuComponent
NshmpLibNgControlPanelButtonsComponent
EventParametersComponent
SourceParametersComponent
PathParametersComponent
SiteParametersComponent
ReactiveFormsModule
|
templateUrl | ./control-panel.component.html |
styleUrl | ./control-panel.component.scss |
Properties |
|
Methods |
|
constructor(service: AppService, nshmpService: NshmpService)
|
|||||||||
Parameters :
|
ngOnDestroy |
ngOnDestroy()
|
Returns :
void
|
ngOnInit |
ngOnInit()
|
Returns :
void
|
Private onGmmSource |
onGmmSource()
|
Returns :
void
|
Private onMultiSelectableParam |
onMultiSelectableParam()
|
Returns :
void
|
Private onShowEpistemicUncertainty |
onShowEpistemicUncertainty()
|
Returns :
void
|
onSubmit |
onSubmit()
|
On form submit.
Returns :
void
|
controls |
Default value : this.service.formGroup.controls
|
Form controls state |
form |
Default value : this.service.formGroup
|
Control panel form field state |
gmmSelected |
Default value : this.controls.gmmSource.getRawValue()?.length > 0
|
Whether a GMM has been selected |
Public nshmpService |
Type : NshmpService
|
parameters |
Default value : computed(() => this.service.usage()?.response.parameters)
|
Usage parameters |
Public service |
Type : AppService
|
serviceCallInfo |
Default value : this.service.serviceCallInfo
|
Service call info state |
Private subs |
Type : Subscription[]
|
Default value : []
|
supportedImts |
Default value : this.service.supportedImts
|
Supported IMTs based on GMMs selected |