Created
November 16, 2018 21:47
-
-
Save jeffdonthemic/d0ffc6776572bd30a831efa53c458d0d to your computer and use it in GitHub Desktop.
SLDS Modal
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
function openModal(name) { | |
$("#"+name).addClass('slds-fade-in-open'); | |
$("#backdrop").addClass('slds-backdrop_open'); | |
} | |
function closeModal(name) { | |
$("#"+name).removeClass('slds-fade-in-open'); | |
$("#backdrop").removeClass('slds-backdrop_open'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment