lightning:omniChannelLogout
Indicates that an agent has logged out of Omni-Channel.
| Name | Type | Description |
|---|---|---|
reason | string | The reason why the agent is logged out. Possible values are:
|
This example prints a line to the browser’s developer console when an Omni-Channel user logs out of Omni-Channel.
Component code:
Controller code: