closeAllModule( )

closeAllModule API assists you to dynamically close all the modules (like Chatrooms, Facebook Fan Page etc.). closeAllModule API will minimize all the open modules in standard theme and closes modules lightbox in Hangout, Facebook and lite themes.

API:

jqcc.cometchat.closeAllModule();

Sample:

<a href="javascript:void(0)" onclick="javascript:jqcc.cometchat.closeAllModule();">Close All Module</a>

Not finding what you need?

The CometChat team is here to help!