cp-tooltip
A simple tooltip widget for the canopy style guide
Requirements
- Angular 1.3
- jQuery
Installation
- Install through npm
npm install --save cp-tooltip
- Make sure your app depends upon 'cp-tooltip':
angular;
Usage
Markup:
If you'd like the tooltip instantly render, include the cp-tooltip-instant
attribute:
If you want the tooltip to stay visible while the user interacts with the tooltip itself, include the cp-tooltip-allow-interaction
attribute. This is useful when you want to allow the user to highlight and copy the contents of the tooltip.