Menu
Welcome
Quick start guide
Installing on your site
Connecting as operator
Operator commands
API
Operator settings
Roster variables and macroses

Sitehelp API - onChatWindowClose

API :: onChatWindowClose


Event fired once chat window closed (by user or by API)
SITEHELP_API.onChatWindowClose(
   callback  // function will be called once chat window closed (by user or by API)
);


Example:

SITEHELP_API.onReady (
	function () {
		SITEHELP_API.onChatWindowClose(
			function () {
				alert('chat window just closed');
			};
		);
	};
);

Copyright 2011-2014 by Sitehelp.im.