Update chat input.

This commit is contained in:
retoor 2025-05-30 19:32:18 +02:00
parent 7818410d55
commit 24dfa39f91

View File

@ -10,12 +10,17 @@ class ChatInputComponent extends HTMLElement {
app.rpc.starsRender(this.channelUid,this.value.replace("/starsRender ",""))
}
}
users = []
textarea = null
_value = ""
lastUpdateEvent = null
previousValue = ""
lastChange = null
changed = false
constructor() {
super();
this.lastUpdateEvent = new Date();
this.textarea = document.createElement("textarea");
this._value = "";
this.value = this.getAttribute("value") || "";
this.previousValue = this.value;
this.lastChange = new Date();