@rogieking/figui3 1.0.61 → 1.0.63
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/example.html +3 -0
- package/fig.css +3 -0
- package/fig.js +1 -0
- package/package.json +1 -1
package/example.html
CHANGED
|
@@ -18,6 +18,9 @@
|
|
|
18
18
|
</fig-header>
|
|
19
19
|
<fig-avatar src="https://avatars.githubusercontent.com/u/12345678?v=4"
|
|
20
20
|
name="John Doe"></fig-avatar>
|
|
21
|
+
<fig-avatar size="large"
|
|
22
|
+
src="https://avatars.githubusercontent.com/u/12345678?v=4"
|
|
23
|
+
name="John Doe"></fig-avatar>
|
|
21
24
|
<fig-avatar name="John Doe"></fig-avatar>
|
|
22
25
|
<fig-content>
|
|
23
26
|
<fig-tabs>
|
package/fig.css
CHANGED
package/fig.js
CHANGED
|
@@ -1391,6 +1391,7 @@ class FigImage extends HTMLElement {
|
|
|
1391
1391
|
attributeChangedCallback(name, oldValue, newValue) {
|
|
1392
1392
|
if (name === "src") {
|
|
1393
1393
|
this.src = newValue;
|
|
1394
|
+
this.chit.setAttribute("src", this.src);
|
|
1394
1395
|
}
|
|
1395
1396
|
if (name === "upload") {
|
|
1396
1397
|
this.upload = newValue.toLowerCase() === "true";
|
package/package.json
CHANGED