2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00
Add a live toast example to the docs
This commit is contained in:
XhmikosR
2021-01-18 20:59:59 +02:00
committed by GitHub
parent ee282aff27
commit d2477abecd
2 changed files with 50 additions and 1 deletions
+6 -1
View File
@@ -24,12 +24,17 @@
$('[data-toggle="popover"]').popover()
$('.toast')
$('.bd-example .toast')
.toast({
autohide: false
})
.toast('show')
// Live toast demo
$('#liveToastBtn').click(function () {
$('#liveToast').toast('show')
})
// Demos within modals
$('.tooltip-test').tooltip()
$('.popover-test').popover()