GMM Library

Home - NSHMP Angular Library User Guide

Common components, interfaces, and utilities for GMM applications.

Contents

Components

Component Module

Example :
import {NshmpGmmModule} from '@ghsc/nshmp-lib-ng/gmm';

@NgModule({
  declarations: [],
  imports: [NshmpGmmModule],
})
export class MyApplicationModule {}

GMM Menu

Select menu for GMMs with sorting options, alphabetical and GMM group.

See GmmMenuComponent for input parameters.

To use import NshmpGmmModule.

Example :
<nshmp-lib-ng-gmm-menu></nshmp-lib-ng-gmm-menu>

GMM Multi Selectable

Control form for multi selectable parameters, switches between a single input form and select menu.

See GmmMultiSelectComponent for input parameters.

To use import NshmpGmmModule.

Example :
<nshmp-lib-ng-gmm-multi-select></nshmp-lib-ng-gmm-multi-select>

Plot Options

GMM plot options for control panel.

See PlotOptionsControlPanelComponent for input parameters.

To use import NshmpGmmModule.

Example :
<nshmp-lib-ng-gmm-plot-options-control-panel></nshmp-lib-ng-gmm-plot-options-control-panel>

Code scaffolding

Run npm run ng -- generate component component-name --project=nshmp-lib-ng-gmm to generate a new component.

Can also use npm run ng -- generate directive|pipe|service|class|guard|interface|enum|module --project=nshmp-lib-ng-gmm.

Note: Don't forget to add --project=nshmp-lib-ng-gmm or else it will be added to the default project in the angular.json file.

Running unit tests

Run npm run test -- projects/nshmp-lib-ng/gmm to execute the unit tests.

Further help

To get more help on the Angular CLI use npm run ng -- help or go check out the Angular CLI Overview and Command Reference page.

results matching ""

    No results matching ""