-
-
Save TheShubhamVsnv/9dc300b526c81d07616b756f0a152fa2 to your computer and use it in GitHub Desktop.
slds-Modals and Popovers .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
<template> | |
<div> | |
<button class="slds-button slds-button_brand" onclick={openModal}>Open Modal</button> | |
<div class={modalClass}> | |
<div class="slds-modal__container"> | |
<div class="slds-modal__header"> | |
<h2 class="slds-text-heading_medium">Modal Header</h2> | |
</div> | |
<div class="slds-modal__content"> | |
<p>This is the content of the modal.</p> | |
</div> | |
<div class="slds-modal__footer"> | |
<button class="slds-button slds-button_neutral" onclick={closeModal}>Close</button> | |
<button class="slds-button slds-button_brand">Save</button> | |
</div> | |
</div> | |
</div> | |
</div> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment