<user-list>

  • module
bitballs/components/user/list

{Module}

 

Provides a custom element that allows an admin user to view the list of registered users, see whether they have verified their email addresses, and change their admin status.

<user-list {session}/>

Creates the user list.

Parameters

  1. session {bitballs/model/session}

    The session object. Contains information about the logged in user. If the logged in user is not an administrator, they will not be able to view the user list. This also allows the component to prevent the logged in user from removing themseves as an administrator.

To create a <user-list> element, pass the [bitballs/model/session] like:

<user-list
        {session}="session"
        ></user-list>

Example