Namespace: UIRendering

MIGChat.UIRendering

User Interface rendering and update functions

Source:

Methods

(static) updateRoomsUI()

Updates the rooms list display including:

  • Room names with user counts
  • Active room highlighting
  • Click handlers for room switching
.

Updates the rooms list display including:

  • Room names with user counts
  • Active room highlighting
  • Click handlers for room switching
Source:

(static) updateStatus()

Shows current connection state including:

  • Username
  • Current room (if any)
  • Room count (when not in active room)
  • Connection status text
  • Visual connection indicator
.

Shows current connection state including:

  • Username
  • Current room (if any)
  • Room count (when not in active room)
  • Connection status text
  • Visual connection indicator
Source:

(static) updateUsersUI(users)

Clears and repopulates the users list with current room participants

.

Clears and repopulates the users list with current room participants

Parameters:
Name Type Description
users Array.<string>

Array of usernames to display

Source: