User List

This example uses Orbiter, JavaScript, and HTML, to create a list of users in an application room. To create a datagrid with additional user information, see User List (Dojo DGrid).

[Edit Live on JSFiddle] [Download]

The above user list demonstrates the following Orbiter features:

  • Creating a room
  • Joining a room
  • Running a function when a client joins a room
  • Running a function when a client leaves a room
  • Updating an on-screen list component with the current occupants of a room

The Code

Here is the code for the preceding example. Click the "+" button to edit it live on JSFiddle.