| ... |
... |
@@ -43,15 +43,16 @@ |
| 43 |
43 |
} |
| 44 |
44 |
|
| 45 |
45 |
connectedCallback() { |
|
46 |
+ // this.attachShadow({ mode: 'open' }); |
| 46 |
46 |
super.connectedCallback(); |
| 47 |
47 |
this.render(); |
| 48 |
48 |
this.$('#search').addEventListener('click', this.handleSearch); |
| 49 |
49 |
this.$('#prev').addEventListener('click', this.handlePrevPage); |
| 50 |
|
- this.$('#next').addEventListener('click', this.handleNextPage); |
|
51 |
+ this.$('#next').addEventListener('click', this.handleNextPage; |
| 51 |
51 |
} |
| 52 |
52 |
|
| 53 |
53 |
disconnectedCallback() { |
| 54 |
|
- this.$('#search').removeEventListener('click', this.handleSearch); |
|
55 |
+ this.$('#search').removeEventListener('click', this.handleSearch; |
| 55 |
55 |
this.$('#prev').removeEventListener('click', this.handlePrevPage); |
| 56 |
56 |
this.$('#next').removeEventListener('click', this.handleNextPage); |
| 57 |
57 |
} |