From Bright Pattern Documentation
(Created page with "<translate> =onLogout= This handler will be invoked when an agent logs out of the Agent Desktop application. ==Request== ''Syntax'' {| class="wikitable" |on('ON_LOGOUT', ha...") |
(No difference)
|
Revision as of 14:01, 16 September 2022
• 5.19
<translate>
onLogout
This handler will be invoked when an agent logs out of the Agent Desktop application.
Request
Syntax
on('ON_LOGOUT', handler: OnLogoutHandler): void
|
Parameters
(None)
Example
function logoutCallback(data: LoginStateData) {
console.log("User has been logged out!");
}
adApi.on("ON_LOGOUT", logoutCallback);
Return Value
(None)
</translate>