Created
January 11, 2022 21:03
-
-
Save bacoords/705522ad5a3333c058c7c7c85ec1bb3c to your computer and use it in GitHub Desktop.
Understrap - how to use bootstrap components
This file contains hidden or 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
// Add your custom JS here. | |
import Popover from 'bootstrap/js/dist/popover' | |
var popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')) | |
var popoverList = popoverTriggerList.map(function (popoverTriggerEl) { | |
return new Popover(popoverTriggerEl) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment