test
parent
ea7bdda392
commit
e7a24ddc38
|
@ -112,9 +112,7 @@
|
||||||
super();
|
super();
|
||||||
|
|
||||||
// "variant" is the id of the variant
|
// "variant" is the id of the variant
|
||||||
|
this.variant = null;
|
||||||
this.variant = this.getAttribute('variant');
|
|
||||||
console.log("this.variant",this.variant);
|
|
||||||
this.currentVariant = null;
|
this.currentVariant = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -127,6 +125,8 @@
|
||||||
|
|
||||||
connectedCallback() {
|
connectedCallback() {
|
||||||
this.style.display = 'none';
|
this.style.display = 'none';
|
||||||
|
// "variant" is the id of the variant
|
||||||
|
this.variant = this.getAttribute('variant');
|
||||||
}
|
}
|
||||||
|
|
||||||
disconnectedCallback() {
|
disconnectedCallback() {
|
||||||
|
|
Loading…
Reference in New Issue