checkStatus(): void { this.socket.on('connect', () => { console.log('Connect to Socket Server...'); this.socketStatus = true; }); this.socket.on('disconnect', () => { console.log('Disconnect from Socket Server...'); this.socketStatus = false; }); }
checkStatus(): void { this.socket.on('connect', () => { console.log('Connect to Socket Server...'); this.socketStatus = true; }); this.socket.on('disconnect', () => { console.log('Disconnect from Socket Server...'); this.socketStatus = false; }); }