mediacube-ui-v2 0.0.173 → 0.0.174
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mediacube-ui-v2.js
CHANGED
|
@@ -25191,7 +25191,7 @@ class go {
|
|
|
25191
25191
|
let e = document.getElementById(String(this.id));
|
|
25192
25192
|
if (!e) {
|
|
25193
25193
|
const n = document.createElement("div");
|
|
25194
|
-
n.classList.add("mc-tooltip"), n.id = String(this.id), n.
|
|
25194
|
+
n.classList.add("mc-tooltip"), n.id = String(this.id), n.innerHTML = this.content || "", n.style.setProperty("--tooltip-color", this.color), n.style.setProperty("--tooltip-text-color", this.textColor), n.style.setProperty("--tooltip-arrow-left", "50%"), n.setAttribute("tooltip-placement", this.placement), n.setAttribute("tooltip-size", this.size), n.setAttribute("tooltip-arrow", String(this.arrow)), (a = document.getElementById("tooltip-container")) == null || a.appendChild(n);
|
|
25195
25195
|
}
|
|
25196
25196
|
if (e = document.getElementById(String(this.id)), e) {
|
|
25197
25197
|
e.style.visibility = "visible";
|