Skip to content
This repository was archived by the owner on Oct 2, 2020. It is now read-only.

Commit 4450de3

Browse files
authored
Update README.md
1 parent 440b057 commit 4450de3

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,20 @@ Use it in your components:
3939
changed(msg) {
4040
console.log("Something changed: " + msg);
4141
}
42+
43+
/*
44+
connect() {
45+
console.log("Websocket connected to " + this.$socket.nsp);
46+
},
47+
48+
disconnect() {
49+
console.log("Websocket disconnected from " + this.$socket.nsp);
50+
},
51+
52+
error(err) {
53+
console.error("Websocket error!", err);
54+
}
55+
*/
4256
4357
}
4458
}

0 commit comments

Comments
 (0)