Lines of Code | 23 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | import $ from 'jquery' |
||
2 | |||
3 | class BlockCookieNotification extends window.HTMLDivElement { |
||
4 | constructor (self) { |
||
5 | self = super(self) |
||
6 | self.$ = $(self) |
||
7 | self.resolveElements() |
||
8 | return self |
||
|
|||
9 | } |
||
10 | |||
11 | resolveElements () { |
||
12 | this.$element = $('.element', this) |
||
13 | } |
||
14 | |||
15 | connectedCallback () { |
||
16 | |||
17 | } |
||
18 | } |
||
19 | |||
20 | window.customElements.define('flynt-block-cookie-notification', BlockCookieNotification, {extends: 'div'}) |
||
21 | |||
22 | import './Partials/AcceptButton/script.js' |
||
23 | import './Partials/OptoutLink/script.js' |