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

3.0.0 • Public • Published

SmartTooltip

NPM | Github

Installation

  • yarn add @propellerads/smart-tooltip or npm install @propellerads/smart-tooltip -S

How to use

  • import {hideTooltip, showTooltip, TOOLTIP_POSITION} from '@propellerads/smart-tooltip';
  • invoke func on onMouseEnter event and pass target showTooltip(e.target, 'tip'[, position])
  • invoke func on onMouseLeave event hideTooltip()
  • use TOOLTIP_POSITION object to define proper Tooltip position [right, left, top, bottom]

Readme

Keywords

none

Package Sidebar

Install

npm i @propellerads/smart-tooltip

Weekly Downloads

283

Version

3.0.0

License

MIT

Unpacked Size

34.7 kB

Total Files

13

Last publish

Collaborators

  • ilyapasyuk
  • noc_propellerads
  • sergeyshevelev
  • r.khizhenkov
  • aliance
  • d.borisevichus
  • s.lemnev
  • p.zasypkin