diff --git a/projects/poweredsoft/ngx-bootstrap/package.json b/projects/poweredsoft/ngx-bootstrap/package.json index badeeea..30b4df8 100644 --- a/projects/poweredsoft/ngx-bootstrap/package.json +++ b/projects/poweredsoft/ngx-bootstrap/package.json @@ -1,6 +1,6 @@ { "name": "@poweredsoft/ngx-bootstrap", - "version": "0.0.6", + "version": "0.0.7", "description": "an internal use libary for handling data souces grid filtering sorting, add commands etc", "keywords": [ "angular", diff --git a/projects/poweredsoft/ngx-bootstrap/src/lib/command-modal/directives/command-modal.directive.ts b/projects/poweredsoft/ngx-bootstrap/src/lib/command-modal/directives/command-modal.directive.ts index 291f44f..cc7edf0 100644 --- a/projects/poweredsoft/ngx-bootstrap/src/lib/command-modal/directives/command-modal.directive.ts +++ b/projects/poweredsoft/ngx-bootstrap/src/lib/command-modal/directives/command-modal.directive.ts @@ -21,6 +21,7 @@ export class CommandModalDirective { @Input() cancelText: string; @Input() animated: boolean; @Input() btnClass:string; + @Input() modalSize: string; @Output() success: EventEmitter = new EventEmitter(); @@ -44,6 +45,7 @@ export class CommandModalDirective { }; this.modalService.show(CommandModalComponent, { animated: this.animated === undefined ? true : this.animated, + class: this.modalSize, initialState });