NB. Although functional, please note that this is an alpha / pre-beta release - Do NOT use in production
An Angular 2 version isn't planned, but it should be very easy to port it (I didn't test, but it may even work without any change)
Differences between tympanus & this port:
The most important changes (beside the native angular 4 library / npm package format) are:
The ability to pass either text or a complete component
That's right! Your tooltips can be as simple or as complex as you want!
Better control over tooltips styling
The ability to show tooltips either on
Demo & Screenshots
How to use
Create a new angular 2+ project. If you are using Angular CLI, just run this command in command line:
ng new YOUR_PROJECT_NAME
Install ng4-tooltips via NPM by running this command:
npm install ng4-tooltips
To add an item along with its tooltip, simply add the component tag, ie.
<app-tooltip [tooltip]="tooltip" ></app-tooltip>