mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-23 18:14:04 +03:00
19 lines
511 B
JavaScript
19 lines
511 B
JavaScript
$(document).ready(function () {
|
|
$('.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}
|
|
})
|
|
})
|