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 June 7, 2019, at 17:09.
Comments or questions about this documentation? Contact us for support!