File

components/about/about.component.ts

Description

About page for static hazard application.

Metadata

Index

Properties

Constructor

constructor()

Properties

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', }, ]

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 static 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 static hazard curve application provides access to precomputed
      probabilisitic seismic hazard curves for USGS national seismic hazard
      models (NSHMs).
    </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>
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""