| ... |
... |
@@ -1,11 +1,7 @@ |
| 1 |
1 |
{{html clean="false"}} |
| 2 |
|
-<!-- |
| 3 |
|
- !!! POC. Code would must be reviewed / optimized and packaged for use in production !!! |
| 4 |
|
---> |
| 5 |
5 |
<script type="module"> |
| 6 |
6 |
import {LitElement, html} from 'https://cdn.jsdelivr.net/gh/lit/dist@2/core/lit-core.min.js'; |
| 7 |
7 |
class UnifiedSearch extends LitElement { |
| 8 |
|
- /* |
| 9 |
9 |
static properties = { |
| 10 |
10 |
searchText: { type: String }, |
| 11 |
11 |
favoritesFilter: { type: Boolean }, |
| ... |
... |
@@ -15,7 +15,6 @@ |
| 15 |
15 |
publicFilter: { type: Boolean }, |
| 16 |
16 |
privateFilter: { type: Boolean }, |
| 17 |
17 |
} |
| 18 |
|
- */ |
| 19 |
19 |
constructor() { |
| 20 |
20 |
super(); |
| 21 |
21 |
this.searchText = ""; |
| ... |
... |
@@ -37,9 +37,6 @@ |
| 37 |
37 |
// check if text changed |
| 38 |
38 |
console.log(this.searchText); |
| 39 |
39 |
} |
| 40 |
|
- buildFilter() { |
| 41 |
|
- //https://wiki-dev.ebrains.eu/rest/v1/collabs?search=&offset=0&orderField=title&order=asc&favorite=true&roles= |
| 42 |
|
- } |
| 43 |
43 |
render() { |
| 44 |
44 |
return html` |
| 45 |
45 |
<div> |