Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hint

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hint

Awesome tooltips at your fingertips

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

hint

Awesome tooltips at your fingertips

Install

Using Bower

bower install -S hint

Using npm

npm install -S hint

Usage

Just call hint.all on an HTML DOM node. It'll find any nodes with a data-hint attribute and work its magic!

hint.all(document.body);

You can also do it on just one element.

hint(elem);

Turn them off using hint.off.

hint.off(elem);

You'll get a nice little tooltip. Remember to include the CSS in your styles!

hint.png

If you want to make the tooltip right-aligned, use the ht-hint-right class instead.

License

MIT

FAQs

Package last updated on 16 May 2014

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc