
Product
Introducing Immutable Scans
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.
component-tip
Advanced tools
Tip component. Inspired by tipsy without the weird jQuery API.


Live demo is here.
$ npm install component-tip
show the tip is shownhide the tip is hiddenEquivalent to Tip(el, { value: string }).
Attach a Tip to an element, and display the title
attribute's contents on hover. Optionally apply a hide delay
in milliseconds.
var tip = require('tip');
tip('a[title]', { delay: 300 });
Create a new tip with content being
either a string, html, element, etc.
var Tip = require('tip');
var tip = new Tip('Hello!');
tip.show('#mylink');
toptop righttop leftbottombottom rightbottom leftrightleftOptions:
auto set to false to disable auto-positioningShow the tip attached to el, where el
may be a selector or element.
Show the tip at the absolute position (x, y).
Hide the tip immediately or wait ms.
Attach the tip to the given el, showing on mouseover and hiding on mouseout.
Use effect name. Default with Tip.effect = 'fade' for example.
MIT
FAQs
Tip component
The npm package component-tip receives a total of 177 weekly downloads. As such, component-tip popularity was classified as not popular.
We found that component-tip demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 28 open source maintainers collaborating on the project.
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.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.