Package Exports
- ng2-tooltip-overlay
 
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ng2-tooltip-overlay) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ng2-tooltip-overlay
Angular2 tooltip directive
Install
install ng2-tooltip-overlay
$ npm install ng2-tooltip-overlay --saveadd
mapandpackagesto yoursystemjs.config.jsmap['ng2-tooltip-overlay'] = 'node_modules/ng2-tooltip-overlay' packages['ng2-tooltip-overlay'] = { main: 'dist/index.js', defaultExtension: 'js']add ng2-tooltip.css into your html
<link rel="stylesheet" href="https://npmcdn.com/ng2-tooltip-overlay/dist/ng2-tooltip.css" />
Usage it in your code
import and add directive in your component
import { Ng2TooltipDirective } from 'ng2-tooltip-overlay'; @Component({ selector: 'my-app', templateUrl: './app/app.tpl.html', directives: [ Ng2TooltipDirective ] })You are ready. use it in your template
<div tooltip="This is my tooltip"> Move mouse over here to see the tooltip </div>