Socket
Socket
Sign inDemoInstall

@propellerads/smart-tooltip

Package Overview
Dependencies
1
Maintainers
9
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @propellerads/smart-tooltip

[NPM](https://www.npmjs.com/package/@propellerads/smart-tooltip) | [Github](https://github.com/propellerads/ui-components/tree/master/Components/SmartTooltip)


Version published
Weekly downloads
801
increased by27.14%
Maintainers
9
Install size
37.9 kB
Created
Weekly downloads
 

Readme

Source

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]

FAQs

Last updated on 18 Sep 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc