First commit

This commit is contained in:
2025-12-25 11:16:59 +01:00
commit 0c5ca09a63
720 changed files with 329234 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
import input from "/elements/input.js";
export default class searchBar extends input {
placeholder = "Search."
async keyup( event ) {
this.value = this.customElement.value;
var value = this.value;
console.log("search input", value);
var newsItems = this.parent.commentsMessages;
await newsItems.search( value );
await newsItems.sync();
}
}