Firstly, thank you for this helpful post.
I guess, from B5 we can handle the situation without using jQuery and also without a lot of code lines like in your post.
Hi 👋 Anna here! I post about cloud, opensource projects that interest me, and loosely related stuff. I also build weird and wonderful, mostly cloudy opensource projects when the mood takes me :)
Firstly, thank you for this helpful post.
I guess, from B5 we can handle the situation without using jQuery and also without a lot of code lines like in your post.
Usage via js:
var myModal = new bootstrap.Modal(document.getElementById('exampleModal'))
myModal.show()
getbootstrap.com/docs/5.0/componen...
If I am right, you should indicate that in your post more clear because mind of newcomers/rookies like me, can be confused :)
This post was made before they removed jQuery themselves. I'll edit it