![]() |
|
|||||||||||
|
||||||||||||
|
Sitehelp API - onReadyAPI :: onReadyEvent fired once chat successfully initialized and API ready to be used (at least one operator is online) SITEHELP_API.onReady( callback // function will be called once chat successfully initialized and API ready to be used (at least one operator is online) ); Example: SITEHELP_API.onReady (DoSomeThingsWithApi); function DoSomeThingsWithApi() { SITEHELP_API.setName(...); SITEHELP_API.openChatWindow(...); ... }; |
|||||||||||
|