test
parent
298690fa3b
commit
d4c54222f8
|
@ -110,7 +110,6 @@
|
||||||
class CustomVariantDescriptionElement extends HTMLElement {
|
class CustomVariantDescriptionElement extends HTMLElement {
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
this.style.display = 'block';
|
|
||||||
|
|
||||||
// "variant" is the id of the variant
|
// "variant" is the id of the variant
|
||||||
|
|
||||||
|
@ -125,6 +124,10 @@
|
||||||
this.updateVariantDescription(id);
|
this.updateVariantDescription(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
connectedCallback() {
|
||||||
|
this.style.display = 'none';
|
||||||
|
}
|
||||||
|
|
||||||
disconnectedCallback() {
|
disconnectedCallback() {
|
||||||
// Clean up the element when it is removed from the DOM.
|
// Clean up the element when it is removed from the DOM.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue