use connected callback instead of constructor
This commit is contained in:
parent
61bc809fa8
commit
e2524efc6a
|
@ -1,6 +1,5 @@
|
|||
class blogFooter extends HTMLElement {
|
||||
constructor(){
|
||||
super();
|
||||
connectedCallback(){
|
||||
this.getBlogEntries();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue