Open In App

How to make Tooltip using Angular UI Bootstrap ?

Last Updated : 06 Jan, 2023
Comments
Improve
Suggest changes
Like Article
Like
Report

In this article we will see how to make Dropdown using Angular UI bootstrap.

Angular UI Bootstrap is an Angular JS framework created by Angular UI developers for providing better UI which can be used easily.

Syntax:

<div uib-tooltip></div>

Download AngularUI from the link:

https://angular-ui.github.io/bootstrap
 

Approach: 

  • First, add Angular UI bootstrap scripts needed for your project.
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.1/angular.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.1/angular-animate.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.1/angular-sanitize.js"></script> <script src="https://angular-ui.github.io/bootstrap/ui-bootstrap-tpls-2.5.0.js"></script>
  • Make Tooltip with its UIBootStrap classes which will set the UI look for the Tooltip.
  • Now make different types of Tooltip using different classes and run the code.

Example:

Output:

Reference: https://angular-ui.github.io/bootstrap/#!#tooltip


Next Article

Similar Reads