Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ngAfterViewInit() {
- setTimeout(() => {
- this.Model = new UserCreateModel();
- this.ModalRef = this.modalService.show(this.template, <ModalOptions>{ ignoreBackdropClick: true });
- });
- }
- <ng-template #template>
- <div *blockUI="'user-modal'">
- <div class="modal-header">
- <h4 class="modal-title pull-left">Create user</h4>
- <button type="button" class="close pull-right" aria-label="Close" (click)="ModalRef.hide()">
- <span aria-hidden="true">×</span>
- </button>
- </div>
- <div class="modal-body">
- <div class="container row form-horizontal">
- <!--Form elements go here-->
- </div>
- </div>
- <div class="modal-footer">
- </div>
- </div>
- </ng-template>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement