0

Could you please help me with the ui bootstrap tooltip in angular. On hovering over button details I need to show a table. Greatly appreciate the help. Thanks.

HTML:

    var myApp = angular.module('myApp', ['pinnacaServices','ngMaterial', 'ui.router', 'ncy-angular-breadcrumb', 'md.data.table', 'anim-in-out','ngCookies', 'ngAnimate', 'ui.bootstrap']);
              <td md-cell >
                     <button >Details</button>
              </td>
0

2 Answers 2

1

Prepare file with your html structure, use ui tooltip as directive. It can be something like this.

<button uib-tooltip-template="'myTooltipTemplate.html'">Details</button>
Sign up to request clarification or add additional context in comments.

Comments

0

You can also use scope variable and uib-tooltip-html to show table on tooltip

Sample is HERE

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.