mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
33 lines
583 B
JavaScript
33 lines
583 B
JavaScript
$(function () {
|
|
'use strict'
|
|
|
|
$('.tooltip-right').tooltip({
|
|
placement: 'right',
|
|
viewport: {
|
|
selector: 'body',
|
|
padding: 2
|
|
}
|
|
})
|
|
$('.tooltip-bottom').tooltip({
|
|
placement: 'bottom',
|
|
viewport: {
|
|
selector: 'body',
|
|
padding: 2
|
|
}
|
|
})
|
|
$('.tooltip-viewport-right').tooltip({
|
|
placement: 'right',
|
|
viewport: {
|
|
selector: '.container-viewport',
|
|
padding: 2
|
|
}
|
|
})
|
|
$('.tooltip-viewport-bottom').tooltip({
|
|
placement: 'bottom',
|
|
viewport: {
|
|
selector: '.container-viewport',
|
|
padding: 2
|
|
}
|
|
})
|
|
})
|