npm tippy.js 4.2.0
v4.2.0

latest releases: 6.3.7, 6.3.6, 6.3.5...
5 years ago

Features

  • Add x-placement attribute to tooltip node, allowing you to style without needing to use the .tippy-popper selector

Example

Before:

.tippy-popper[x-placement^='top'] .tippy-tooltip.my-theme .tippy-arrow {
  border-top-color: pink;
}

After:

.tippy-tooltip.my-theme[x-placement^='top'] .tippy-arrow {
  border-top-color: pink;
}

Fixes

  • Apply correct mutations when calling .set() with a popperInstance dependency update

Don't miss a new tippy.js release

NewReleases is sending notifications on new releases.