Repository navigation
Releases
Releases · extramoose/tooltip
v1.0.2
Immutable
release. Only release title and notes can be modified.
1.0.1
A tooltip that rides the cursor. Follows the pointer, flips before it runs off the edge, and stays out of the way. Vanilla JS, no dependencies, 4.8 kB gzipped.
- Springs out of the corner nearest the cursor, collapses back into it on the way out
- Walks from one trigger to the next without blinking
- Long press on touch, above the finger, and a plain tap is never touched
- Keyboard focus and
Escape,aria-describedbywiring, reduced motion honoured data-tip-keyshortcut chips,data-tip-overflowfor clipped cells, live text- One theme that reads the page, nineteen custom properties if you want your own
place()is pure and unit-tested; the DOM suite runs in Playwright
Demo: https://tooltip.hah.to/ · Docs: https://tooltip.hah.to/docs/
1.0.0 was published from an earlier state of this tree, before the history was collapsed, and has no tag here. 1.0.1 is the first version this repository can vouch for; releases from here on are published by GitHub Actions with provenance.