Answers for "toast js"

CSS
1

toastify js

<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/toastify-js"></script>
Posted by: Guest on March-08-2020
0

toast js

var toastTrigger = document.getElementById('liveToastBtn')
var toastLiveExample = document.getElementById('liveToast')
if (toastTrigger) {
  toastTrigger.addEventListener('click', function () {
    var toast = new bootstrap.Toast(toastLiveExample)

    toast.show()
  })
}
Posted by: Guest on August-18-2021

Browse Popular Code Answers by Language