1.0.0-beta.16 • Published 3 years ago

@fitpuli/fitpuli-dialog v1.0.0-beta.16

Weekly downloads
72
License
-
Repository
-
Last release
3 years ago

FitpuliDialog

A wrapper around Material's dialog component and service.

This library was generated with Angular CLI version 8.2.14.

Code scaffolding

Run ng generate component component-name --project fitpuli-dialog to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project fitpuli-dialog.

Note: Don't forget to add --project fitpuli-dialog or else it will be added to the default project in your angular.json file.

Usage

Add module to imports:

@NgModule({
  declarations: [],
  imports: [
    FitpuliDialogModule,
  ],
  exports: [],
})
constructor(private dialog: FitpuliDialogService) {}

openDialog() {
    this.dialog.open({ data: {
        title: "title",
        type: DialogType.SUCCESS,
        description: "description",
        okBtn: "OK"
        }
    });
}

Build

Run ng build fitpuli-dialog to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build fitpuli-dialog, go to the dist folder cd dist/fitpuli-dialog and run npm publish --access public.

Running unit tests

Run ng test fitpuli-dialog to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

1.0.0-beta.15

3 years ago

1.0.0-beta.16

3 years ago

1.0.0-beta.14

4 years ago

1.0.0-beta.11

4 years ago

1.0.0-beta.12

4 years ago

1.0.0-beta.13

4 years ago

1.0.0-beta.10

4 years ago

1.0.0-beta.9

4 years ago

1.0.0-beta.8

5 years ago

1.0.0-beta.7

5 years ago

1.0.0-beta.6

5 years ago

1.0.0-beta.5

5 years ago

1.0.0-beta.4

5 years ago

1.0.0-beta.3

5 years ago

1.0.0-beta.1

5 years ago

0.1.0

5 years ago

0.0.1

5 years ago