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.
This page was last edited on February 12, 2016, at 00:21.
Comments or questions about this documentation? Contact us for support!