@terminus/ui-tooltip
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Tooltip

CI/CD Status Codecov MIT License
NPM version Library size

Table of Contents

Installation

Use the ng add command to quickly install all the needed dependencies:

ng add @terminus/ui-tooltip

CSS imports

In your top-level stylesheet, add these imports:

@import '~@terminus/design-tokens/css/library-design-tokens.css';
@import '~@terminus/ui-styles/terminus-ui.css';

CSS resources

Load the needed font families by adding this link to the <head> of your application:

<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">

Usage

<ts-tooltip tooltipValue="My tooltip value!">My tooltip trigger!</ts-tooltip>

Position

Set the position to one of the allowed TsTooltipPositionTypes (default is below).

<ts-tooltip
  tooltipValue="My tooltip value!"
  tooltipPosition="above"
>My tooltip trigger!</ts-tooltip>

Readme

Keywords

none

Package Sidebar

Install

npm i @terminus/ui-tooltip

Weekly Downloads

2

Version

2.0.0

License

MIT

Unpacked Size

82.9 kB

Total Files

51

Last publish

Collaborators

  • bmalinconico-terminus
  • atlwendy
  • terminus_devops