Popover

popover를 실행하려면 popper.js 라는 3rd party 라이브러리를 사용해야 한다.

<script src='./popper.js'>
<script src='./bootstrap.js'>
<script>
// enable popovers everywhere
var popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'))
var popoverList = popoverTriggerList.map(function (popoverTriggerEl) {
  return new bootstrap.Popover(popoverTriggerEl)
})
</script>

See the Pen bootstrap5 - collapse by YoungHyeong Ryu (@YoungHyeong-Ryu) on CodePen.

Table of contents 목차

평점을 남겨주세요
평점 : 2.5
총 투표수 : 1