Inter tab communication


You can communicate between all open tabs in Codoforum using the interTab API

There are two methods available to you.

Broadcast

You send messages using this method

CODOF.interTab.broadcast('Hello world!');

Listen

You listen to any broadcasted messages using this method

CODOF.interTab.listen(function(message) {

    console.log(message); 
});

Note: Inter tab communication works using localStorage.

© CODOFORUM 2018. All Rights Reserved.