AWS Library

Home - NSHMP Angular Library User Guide

Common components, services, and NGRX state for AWS applications.

Contents

Example

Terminate job dialog example screenshot

Components

Component Module

Example :
import {NshmpAwsModule} from '@ghsc/nshmp-lib-ng/aws';

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

Terminate Job Dialog

Angular Material dialog with ability to terminate a running job..

See TerminateJobDialogComponent.

Must use AwsService to open the dialog.

Dialog uses the TerminateJobDialogData for the input data.

Code scaffolding

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

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

Note: Don't forget to add --project=nshmp-lib-ng-aws 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/aws-lib 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 ""