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...") |
(Updated via BpDeleteTranslateTags script) |
||
Line 1: | Line 1: | ||
− | + | ||
=onLogout= | =onLogout= | ||
Line 31: | Line 31: | ||
(None) | (None) | ||
− | |||
− | |||
− | |||
− |
Latest revision as of 04:01, 29 May 2024
• 5.19
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)