Answers for "specifying bootstrap tooltip custom offset"

0

bootstrap tooltip keep open on hover

$(document).ready(function () {
        $('[data-toggle="tooltip"]').tooltip({
            trigger: "manual"
        });

        $('body').on('mouseleave', '.tooltip', function () {
            $('[data-toggle="tooltip"]').tooltip('hide');
        });

        $('[data-toggle="tooltip"] > i').on('mouseenter', function () {
            $('[data-toggle="tooltip"]').tooltip('show');
        });

        $('[data-toggle="tooltip"]').on('click', function () {
            $(this).tooltip('show');
        }); });
Posted by: Guest on December-18-2021
-2

bootstrap tooltip Initialize

$(function () {
  $('[data-toggle="tooltip"]').tooltip()
})
Posted by: Guest on October-08-2020

Browse Popular Code Answers by Language