Skip to content

Instantly share code, notes, and snippets.

@buildmotion
Created March 22, 2018 04:18
Show Gist options
  • Save buildmotion/8f083611fce737a2388acb7e6c2cfc5e to your computer and use it in GitHub Desktop.
Save buildmotion/8f083611fce737a2388acb7e6c2cfc5e to your computer and use it in GitHub Desktop.
<div role="document" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">{{title}}</h4>
<button type="button" class="close" aria-label="Close" (click)="activeModal.dismiss('Cross click')">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<ng-content></ng-content>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline-dark" (click)="activeModal.close('Close click')">Close</button>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment