Update chat input.
This commit is contained in:
parent
7818410d55
commit
24dfa39f91
@ -10,12 +10,17 @@ class ChatInputComponent extends HTMLElement {
|
|||||||
app.rpc.starsRender(this.channelUid,this.value.replace("/starsRender ",""))
|
app.rpc.starsRender(this.channelUid,this.value.replace("/starsRender ",""))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
users = []
|
||||||
|
textarea = null
|
||||||
|
_value = ""
|
||||||
|
lastUpdateEvent = null
|
||||||
|
previousValue = ""
|
||||||
|
lastChange = null
|
||||||
|
changed = false
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
this.lastUpdateEvent = new Date();
|
this.lastUpdateEvent = new Date();
|
||||||
this.textarea = document.createElement("textarea");
|
this.textarea = document.createElement("textarea");
|
||||||
this._value = "";
|
|
||||||
this.value = this.getAttribute("value") || "";
|
this.value = this.getAttribute("value") || "";
|
||||||
this.previousValue = this.value;
|
this.previousValue = this.value;
|
||||||
this.lastChange = new Date();
|
this.lastChange = new Date();
|
||||||
|
Loading…
Reference in New Issue
Block a user