From Bright Pattern Documentation
< 5.19:AgentDesktop-client-side-javascript-api-specification
Revision as of 04:01, 29 May 2024 by BpDeeplTranslateMaintenance (talk | contribs) (Updated via BpDeleteTranslateTags script)
• 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)