Skip to content

Role switcher

Status Component Type

Switch roles

Usage

This Component can be used by using the following HTML Tag:

<tcla-live-apps-role-switcher></tcla-live-apps-role-switcher>

Inputs

Attribute Type Comments
roles RoleAttribute[] Roles - The users current roles
selectedRole RoleAttribute RoleAttribute - selected Role - check with MC

Outputs

Attribute Type Comments
changeRoleEvent EventEmitter
Event changeRoleEvent Role selected
Payload RoleAttribute RoleAttribute object emitted when role is c hanged by switcher

full development Documentation

Link to LiveAppsRoleSwitcherComponent