Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. ngAfterViewInit() {
  2. setTimeout(() => {
  3. this.Model = new UserCreateModel();
  4. this.ModalRef = this.modalService.show(this.template, <ModalOptions>{ ignoreBackdropClick: true });
  5. });
  6. }
  7.  
  8. <ng-template #template>
  9. <div *blockUI="'user-modal'">
  10. <div class="modal-header">
  11. <h4 class="modal-title pull-left">Create user</h4>
  12. <button type="button" class="close pull-right" aria-label="Close" (click)="ModalRef.hide()">
  13. <span aria-hidden="true">&times;</span>
  14. </button>
  15. </div>
  16. <div class="modal-body">
  17. <div class="container row form-horizontal">
  18. <!--Form elements go here-->
  19.  
  20. </div>
  21. </div>
  22. <div class="modal-footer">
  23.  
  24. </div>
  25. </div>
  26. </ng-template>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement