Tooltip

About

The Tooltip component shows tooltips next to the trigger element. It can be rendered into any component you want with bindTo input


  
1
npm i @ngx-popovers/tooltip

This component created with:

Core

Usage

Default usage:

Custom component

You can use your own component to visualize tooltips.
There is an injection token NGX_TOOLTIP_COMPONENT that replaces the default component.

Configuration

There is a configuration token NGX_TOOLTIP_CONFIG.
Please, use the NgxTooltipConfig class to change the default tooltip properties.

You have to install the core package to use a middleware

With template

The tooltip has an Input template

Example