@rogieking/figui3 1.0.60 → 1.0.62
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/fig.css +0 -1
- package/fig.js +4 -2
- package/package.json +1 -1
package/fig.css
CHANGED
package/fig.js
CHANGED
|
@@ -153,7 +153,6 @@ class FigTooltip extends HTMLElement {
|
|
|
153
153
|
this.action = this.getAttribute("action") || "hover";
|
|
154
154
|
this.delay = parseInt(this.getAttribute("delay")) || 500;
|
|
155
155
|
this.isOpen = false;
|
|
156
|
-
this.style.display = "contents";
|
|
157
156
|
}
|
|
158
157
|
connectedCallback() {
|
|
159
158
|
this.setup();
|
|
@@ -164,7 +163,9 @@ class FigTooltip extends HTMLElement {
|
|
|
164
163
|
this.destroy();
|
|
165
164
|
}
|
|
166
165
|
|
|
167
|
-
setup() {
|
|
166
|
+
setup() {
|
|
167
|
+
this.style.display = "contents";
|
|
168
|
+
}
|
|
168
169
|
|
|
169
170
|
render() {
|
|
170
171
|
this.destroy();
|
|
@@ -1390,6 +1391,7 @@ class FigImage extends HTMLElement {
|
|
|
1390
1391
|
attributeChangedCallback(name, oldValue, newValue) {
|
|
1391
1392
|
if (name === "src") {
|
|
1392
1393
|
this.src = newValue;
|
|
1394
|
+
this.chit.setAttribute("src", this.src);
|
|
1393
1395
|
}
|
|
1394
1396
|
if (name === "upload") {
|
|
1395
1397
|
this.upload = newValue.toLowerCase() === "true";
|
package/package.json
CHANGED