mmhglobal-zmodal
v2.6.0
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.3.0.
Downloads
32
Readme
MmhglobalZmodal
This library was generated with Angular CLI version 13.3.0.
Changelog
2.6.0
[service] - dismissbyheader to return result when filter the array.
2.5.0
[service] - dialog top right close button now will base on onCancel event instead.
2.4.0
[helper] - Added to handle beforeModalReponse event for modalCancel and modalClose function when triggered.
2.3.0
Added dismmissAll and dismissByHeader function for the zModal Service.
2.2.1
Update codes due to isMobileScreen() relocation
2.2.0
[helper] - added handling of beforeModalReponse before actually button response. beforeModalReponse need to direct by to function and return obserable boolean.
2.1.0
Simplify show() input params into using ModalPageParams object.
Revamp render modal page method. From using Promise to Observable.
Updated zModalHelper to use the new object ModalPageParams.
2.0.2
renamed componentErrorHandler to componentErrorHandlerService to standardize naming convention.
2.0.1
no changes made message to base on zmodel default message.
2.0.0
Release library version 2.
2.2beta
added auto set required validator to the component base on component attribute. by default is false. to use this feature will need to pass in true for showzModel argument validateIsRequired.(require zcore beta.52 and above)
2.1beta
show alert when trigger onConfirm for form which is not dirty.
1.1.1
Add default zmodalcomponent from dynamicform if not passed.
1.1.0
Upgraded to Angular 13.
1.0.3
remove peerDependencies for library.
1.0.2
Minor fix bug fix.
Code scaffolding
Run ng generate component component-name --project mmhglobal-zmodal
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project mmhglobal-zmodal
.
Note: Don't forget to add
--project mmhglobal-zmodal
or else it will be added to the default project in yourangular.json
file.
Build
Run ng build mmhglobal-zmodal
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build mmhglobal-zmodal
, go to the dist folder cd dist/mmhglobal-zmodal
and run npm publish
.
Running unit tests
Run ng test mmhglobal-zmodal
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.