Jump to: navigation, search

onMinimized(callback)

Use this method to track when chat widget is minimized or restored. The callback is called with true when chat is minimized, and with false when chat is restored. Only works for "embedded" mode.

chat.onMinimized(function(isMinimized) {
  if (isMinimized) {
    // chat was minimized
  } else {
    // chat was restored
  }
});
Important
Added in 850.6.0.

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on February 11, 2016, at 16:21.