()
| 33 | private readonly elem: JQuery; |
| 34 | |
| 35 | public constructor() { |
| 36 | this.elem = $('#simplecook'); |
| 37 | this.elem.hide(); |
| 38 | |
| 39 | this.elem.find('.cookies').on('click', () => { |
| 40 | $('#cookies').trigger('click'); |
| 41 | }); |
| 42 | this.elem.find('.cook-do-consent').on('click', this.callDoConsent.bind(this)); |
| 43 | this.elem.find('.cook-dont-consent').on('click', this.callDontConsent.bind(this)); |
| 44 | } |
| 45 | |
| 46 | public show(): void { |
| 47 | this.elem.show(); |