Documentation v1.0.6

Preview Upgrade to Pro

Overview

Jet HTML Free customizes the Bootstrap Tooltips  through the SASS variables in src/sass/components/_variables.scss and custom SASS code in src/sass/components/_tooltips.scss. Bootstrap Tooltips are globally initialized by src/js/layout/app.js wrapper script via data attribute data-bs-toggle="tooltip". .

Basic

Use data-bs-toggle="tooltip" HTML attribute to initialize a tooltip by passing any of available options as explained in Tooltip Options.
<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-placement="top" title="Tooltip on top">
    Tooltip on top
</button>

<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-placement="right" title="Tooltip on right">
    Tooltip on right
</button>

<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Tooltip on bottom">
    Tooltip on bottom
</button>

<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-placement="left" title="Tooltip on left">
    Tooltip on left
</button>

<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-html="true" title="<em>Tooltip</em> <u>with</u> <b>HTML</b>">
    Tooltip with HTML
</button>

Dark Mode

Use data-bs-custom-class="tooltip-dark" HTML attribute to initialize a tooltip with dark mode.
<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-custom-class="tooltip-dark" data-bs-placement="top" title="Tooltip on top">
    Tooltip on top
</button>

<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-custom-class="tooltip-dark" data-bs-placement="right" title="Tooltip on right">
    Tooltip on right
</button>

<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-custom-class="tooltip-dark" data-bs-placement="bottom" title="Tooltip on bottom">
    Tooltip on bottom
</button>

<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-custom-class="tooltip-dark" data-bs-placement="left" title="Tooltip on left">
    Tooltip on left
</button>

Dimiss Options

Use custom data-bs-dimiss="click" HTML attribute to dismiss a tooltip on click.
<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-dismiss="click" title="Example tooltip">
    Dismissable tooltip
</button>

Delay Options

Use custom data-bs-delay-show and data-bs-delay-hide HTML attributes to initialize a tooltip with showing and hiding delay(ms).
<button type="button" class="btn btn-secondary my-2 me-5" data-bs-toggle="tooltip" data-bs-toggle="tooltip" data-bs-delay-show="1000" data-bs-placement="top" title="Example tooltip">
    Show delay: 1000ms 
</button>

<button type="button" class="btn btn-secondary my-2 me-5" data-bs-toggle="tooltip" data-bs-toggle="tooltip" data-bs-delay-hide="1000" data-bs-placement="top" title="Example tooltip">
    Hide delay: 1000ms 
</button>
Upgrade To Pro
Pro Version Benefits Free Pro
UI Elements 20 100
In-house Components 20 40
Crafted Pages 5 20
Complete Documentation
Product Support
Layout Builder
Source Vectors
Email Templates
Calendar App
User Management App
Chat App
Customers App
Upgrade to Jet HTML Free
Learn & Get Inspired

Support at devs.keenthemes.com

Join our developers community to find answer to your question and help others. FAQs
Get Support
Documentation
From guides and how-tos, to live demos and code examples to get started right away.
Plugins & Components
Check out our 300+ in-house components and customized 3rd-party plugins.
Layout Builder
Build your layout, preview it and export the HTML for server side integration.
What's New
Latest features and improvements added with our users feedback in mind.
Buy now