package
Tip component
npm install tip-componentGitHub-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 tip-componentshow 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
jongleberry
jonathanrichardong@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
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
blakeembrey
hello@blakeembrey.com
timoxley
secoif@gmail.com
jonathanong
jonathanrichardong@gmail.com
queckezz
fabian.eichenberger@gmail.com
nami-doc
vendethiel@hotmail.fr
tjholowaychuk
tj@vision-media.ca
Estimated unpacked size across 66 packages.
32.9 MB+
Includes dependencies.