components/about/about.component.ts
About page for dynamic hazard application.
selector | app-about |
imports |
NshmpLibNgAboutContentComponent
NshmpLibNgAboutDescriptionComponent
NshmpLibNgAboutDescriptionTitleComponent
NshmpLibNgAboutUsingApplicationExpansionPanelComponent
NshmpLibNgAboutHeaderControlsComponent
NshmpLibNgAboutControlPanelComponent
NshmpLibNgAboutMainContentTabsComponent
NshmpLibNgAboutPlotlyComponent
NshmpLibNgAboutSettingsComponent
|
templateUrl | ./about.component.html |
styleUrl | ./about.component.scss |
Properties |
constructor()
|
Defined in components/about/about.component.ts:50
|
tabInfo |
Type : AboutMainContentTab[]
|
Default value : [
{
tabDescription: 'Shows the hazard curve plots',
tabTitle: 'Plots',
},
{
tabDescription: 'Shows the hazard curve data in tabular form',
tabTitle: 'Hazard Curve Data',
},
{
tabDescription:
'Shows the uniform hazard response spectra in tabular form',
tabTitle: 'Response Spectrum Data',
},
]
|
Defined in components/about/about.component.ts:36
|
Main content tab info |
import {Component} from '@angular/core';
import {
AboutMainContentTab,
NshmpLibNgAboutContentComponent,
NshmpLibNgAboutControlPanelComponent,
NshmpLibNgAboutDescriptionComponent,
NshmpLibNgAboutDescriptionTitleComponent,
NshmpLibNgAboutHeaderControlsComponent,
NshmpLibNgAboutMainContentTabsComponent,
NshmpLibNgAboutPlotlyComponent,
NshmpLibNgAboutSettingsComponent,
NshmpLibNgAboutUsingApplicationExpansionPanelComponent,
} from '@ghsc/nshmp-lib-ng/about';
/**
* About page for dynamic hazard application.
*/
@Component({
imports: [
NshmpLibNgAboutContentComponent,
NshmpLibNgAboutDescriptionComponent,
NshmpLibNgAboutDescriptionTitleComponent,
NshmpLibNgAboutUsingApplicationExpansionPanelComponent,
NshmpLibNgAboutHeaderControlsComponent,
NshmpLibNgAboutControlPanelComponent,
NshmpLibNgAboutMainContentTabsComponent,
NshmpLibNgAboutPlotlyComponent,
NshmpLibNgAboutSettingsComponent,
],
selector: 'app-about',
styleUrl: './about.component.scss',
templateUrl: './about.component.html',
})
export class AboutComponent {
/** Main content tab info */
tabInfo: AboutMainContentTab[] = [
{
tabDescription: 'Shows the hazard curve plots',
tabTitle: 'Plots',
},
{
tabDescription: 'Shows the hazard curve data in tabular form',
tabTitle: 'Hazard Curve Data',
},
{
tabDescription:
'Shows the uniform hazard response spectra in tabular form',
tabTitle: 'Response Spectrum Data',
},
];
constructor() {}
}
<nshmp-lib-ng-about-content>
<nshmp-lib-ng-about-description>
<nshmp-lib-ng-about-description-title>
The dynamic hazard curve application computes on-demand probabilisitic
seismic hazard curves from a USGS national seismic hazard model (NSHM).
</nshmp-lib-ng-about-description-title>
</nshmp-lib-ng-about-description>
<!-- Using this application panel -->
<nshmp-lib-ng-about-using-application-expansion-panel>
<!-- About the header controls -->
<nshmp-lib-ng-about-header-controls />
<!-- About the control panel -->
<nshmp-lib-ng-about-control-panel />
<!-- About main content -->
<nshmp-lib-ng-about-main-content-tabs [tabInfo]="tabInfo" />
<!-- About Plotly -->
<nshmp-lib-ng-about-plotly />
<!-- About settings -->
<nshmp-lib-ng-about-settings />
</nshmp-lib-ng-about-using-application-expansion-panel>
</nshmp-lib-ng-about-content>