Created
October 31, 2022 12:04
-
-
Save mudassaralichouhan/7b795cde02c8d6a511e7b95d8fb7f9c1 to your computer and use it in GitHub Desktop.
Dom is ready
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
window.addEventListener("DOMContentLoaded", () => { | |
// DOM ready! Images, frames, and other subresources are still downloading. | |
var myModal = new bootstrap.Modal(document.getElementById('exampleModal')) | |
myModal.toggle() | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment