Created
August 16, 2018 11:01
-
-
Save epexa/162fb845c03ab2c35eb7e47d98055058 to your computer and use it in GitHub Desktop.
bootstrap.native issue #235 https://github.com/thednp/bootstrap.native/issues/235
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
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"> | |
<div class="modal" id="first-modal"> | |
<div class="modal-dialog"> | |
<div class="modal-content"> | |
<div class="modal-body"> | |
First modal | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="modal" id="second-modal"> | |
<div class="modal-dialog"> | |
<div class="modal-content"> | |
<div class="modal-body"> | |
Second modal | |
</div> | |
</div> | |
</div> | |
</div> | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/bootstrap-native-v4.js"></script> | |
<script> | |
new Modal(document.getElementById('first-modal')).show(); | |
setTimeout(function() { | |
new Modal(document.getElementById('second-modal')).show(); | |
}, 3000); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment