Changes for page CLB Search Component
Last modified by bougault on 2023/01/17 11:42
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -20,10 +20,13 @@ 20 20 return template; 21 21 } 22 22 23 - 24 24 get styles() { 25 - return ``;24 + return ''; 26 26 } 26 + 27 + get html() { 28 + return ''; 29 + } 27 27 $(selector) { 28 28 return this.shadowRoot.querySelector(selector); 29 29 } ... ... @@ -48,6 +48,7 @@ 48 48 this.$('#search').addEventListener('click', this.handleSearch); 49 49 this.$('#prev').addEventListener('click', this.handlePrevPage); 50 50 this.$('#next').addEventListener('click', this.handleNextPage); 54 + this.$('input[type="text"]').focus(); 51 51 } 52 52 53 53 disconnectedCallback() {