Methods
(static) showErrorInInput(msg)
Shows error in input field with special error styling
.Shows error in input field with special error styling
Parameters:
Name | Type | Description |
---|---|---|
msg |
string | Error message text |
(static) showSystemMessage(text)
Appends system message with special styling to message area
.Appends system message with special styling to message area
Parameters:
Name | Type | Description |
---|---|---|
text |
string | System message text to display |
(static) showUserMessage(user, text)
Appends user message with username highlighting
.Appends user message with username highlighting
Parameters:
Name | Type | Description |
---|---|---|
user |
string | Sender username |
text |
string | Message content |