package
Tip component
npm install component-tipGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Tip component. Inspired by tipsy without the weird jQuery API.


Live demo is here.
$ npm install component-tipshow 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.
Also if static is true the tip will be fixed to its initial position.
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
defunctzombie
shtylman@gmail.com
rauchg
rauchg@gmail.com
retrofox
rdsuarez@gmail.com
coreh
thecoreh@gmail.com
forbeslindesay
forbes@lindesay.co.uk
kelonye
kelonyemitchel@gmail.com
mattmueller
mattmuelle@gmail.com
yields
yields@icloud.com
anthonyshort
antshort@gmail.com
jongleberry
jonathanrichardong@gmail.com
ianstormtaylor
ian@ianstormtaylor.com
cristiandouce
cristiandouce@gmail.com
swatinem
arpad.borsos@googlemail.com
stagas
gstagas@gmail.com
amasad
amjad.masad@gmail.com
juliangruber
julian@juliangruber.com
calvinfo
calvin@calv.info
dominicbarnes
dominic@dbarnes.info
clintwood
clint@anotherway.co.za
thehydroimpulse
dnfagnan@gmail.com
stephenmathieson
me@stephenmathieson.com
trevorgerhardt
trevorgerhardt@gmail.com
timaschew
timaschew@gmail.com
hughsk
hughskennedy@gmail.com
tootallnate
nathan@tootallnate.net
Estimated unpacked size across 27 packages.
103.2 kB
Includes dependencies.
10 direct · 3 outdated
1.3.0
3.0.0
0.0.8
0.0.8
1.2.0
1.2.0
1.0.0
0.0.3
0.0.3
1.1.3
2.0.0
1.0.5
1.0.5