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