Created
November 22, 2019 16:20
-
-
Save Ze1598/bf10e35a0274804b205d93915dc5ba1d to your computer and use it in GitHub Desktop.
Modal component: modal.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="modal-content-wrapper"> | |
<header id="modal-header"> | |
<h1 id="modal-title">Are you sure you want to logout?</h1> | |
</header> | |
<section id="modal-body"> | |
<p>If you logout bad things might happen, but don't mind me, I'm just the description in a modal...</p> | |
</section> | |
<footer id="modal-footer"> | |
<button mat-raised-button id="modal-action-button" (click)="actionFunction()">Logout</button> | |
<button mat-raised-button id="modal-cancel-button" (click)="closeModal()">Go back</button> | |
</footer> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment