@buy-smart/modal
v0.0.9
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.2.7.
Downloads
133
Readme
Modal
This library was generated with Angular CLI version 16.2.7.
It provides a modal service to open a confirmation modal or a custom modal. The custom modals musts extend BaseModal.
It also provides a spinner service to show a loader.
Code scaffolding
Run ng generate component component-name --project modal
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project modal
.
Note: Don't forget to add
--project modal
or else it will be added to the default project in yourangular.json
file.
Build
Run ng build modal
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build modal
, go to the dist folder cd dist/modal
and run npm publish
.
Running unit tests
Run ng test modal
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 Overview and Command Reference page.