@slickgrid-universal/custom-tooltip-plugin
Advanced tools
Comparing version 5.0.0-beta.2 to 5.0.0-beta.3
@@ -350,3 +350,3 @@ "use strict"; | ||
// when do have text to show, then append the new tooltip to the html body & reposition the tooltip | ||
if (finalOutputText) { | ||
if (finalOutputText.toString()) { | ||
document.body.appendChild(this._tooltipElm); | ||
@@ -353,0 +353,0 @@ // reposition the tooltip on top of the cell that triggered the mouse over event |
@@ -347,3 +347,3 @@ import { calculateAvailableSpace, CancelledException, cancellablePromise, createDomElement, findFirstAttribute, getOffset, SlickEventHandler, } from '@slickgrid-universal/common'; | ||
// when do have text to show, then append the new tooltip to the html body & reposition the tooltip | ||
if (finalOutputText) { | ||
if (finalOutputText.toString()) { | ||
document.body.appendChild(this._tooltipElm); | ||
@@ -350,0 +350,0 @@ // reposition the tooltip on top of the cell that triggered the mouse over event |
{ | ||
"name": "@slickgrid-universal/custom-tooltip-plugin", | ||
"version": "5.0.0-beta.2", | ||
"version": "5.0.0-beta.3", | ||
"description": "A plugin to add Custom Tooltip when hovering a cell, it subscribes to the cell", | ||
@@ -41,6 +41,6 @@ "main": "./dist/cjs/index.js", | ||
"dependencies": { | ||
"@slickgrid-universal/common": "~5.0.0-beta.2", | ||
"@slickgrid-universal/utils": "~5.0.0-beta.2" | ||
"@slickgrid-universal/common": "~5.0.0-beta.3", | ||
"@slickgrid-universal/utils": "~5.0.0-beta.3" | ||
}, | ||
"gitHead": "821e9e33886faa626166edc9857912e788a933ad" | ||
"gitHead": "26cd69e67f2ed8cba9cc0d8c426ac5d201b20dea" | ||
} |
@@ -6,2 +6,3 @@ [](https://opensource.org/licenses/MIT) | ||
[](https://www.npmjs.com/package/@slickgrid-universal/custom-tooltip-plugin) | ||
[](https://bundlephobia.com/result?p=@slickgrid-universal/custom-tooltip-plugin) | ||
@@ -59,6 +60,3 @@ [](https://github.com/ghiscoding/slickgrid-universal/actions) | ||
### External Dependencies | ||
- [DOM Purify](https://github.com/cure53/DOMPurify) to sanitize HTML text | ||
### Installation | ||
Follow the instruction provided in the main [README](https://github.com/ghiscoding/slickgrid-universal#installation) |
@@ -431,3 +431,3 @@ import type { | ||
// when do have text to show, then append the new tooltip to the html body & reposition the tooltip | ||
if (finalOutputText) { | ||
if (finalOutputText.toString()) { | ||
document.body.appendChild(this._tooltipElm); | ||
@@ -434,0 +434,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
238895
61