onAfterClose ()

Minimization of the chat widget for the Pop-Up and Slider types. Activates upon the finishing of the closing process animation.

This event does not allow to prevent the window's closing, since by then the animation had already finished and the window was closed.

If you want to additionally regulate the ability to close, make use of the onClose() event.

Examples

  1. Using jQuery
    $(document).on("netroxafterclose", function(event) {
        // Actions upon chat window closing
    });       
  2. Using the nsc_API object
    nsc_API = { /* ... */ };
    
    nsc_API.onAfterClose = function() {
        // Actions upon chat window closing
    };        

All rights reserved. Copyright © 2017 Netrox SC
Host CMS