Home - NSHMP Angular Library User Guide
Common components, interfaces, and utilities for GMM applications.
import {NshmpGmmModule} from '@ghsc/nshmp-lib-ng/gmm';
@NgModule({
declarations: [],
imports: [NshmpGmmModule],
})
export class MyApplicationModule {}
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>
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>
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>
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 theangular.json
file.
Run npm run test -- projects/nshmp-lib-ng/gmm
to execute the unit tests.
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.