mdb-ui-kit/docs/4.0/examples/tooltip-viewport/tooltip-viewport.js
Federico Zivolo 7b73115606 publish: fix: remove nojekyll...
generated from commit 24d054d4df
2017-08-31 14:49:19 +02:00

19 lines
511 B
JavaScript
Executable File

$(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}
})
})