mirror of
https://github.com/MetinSeylan/Vue-Socket.io.git
synced 2025-04-16 15:21:28 +02:00
Updates to index.js
- Add `options` to JSDocs for constructor - Fix spelling for JSDoc on `install` and `connect` methods
This commit is contained in:
parent
da2a6400c4
commit
1796309fdc
1 changed files with 3 additions and 2 deletions
|
@ -11,6 +11,7 @@ export default class VueSocketIO {
|
|||
* @param io
|
||||
* @param vuex
|
||||
* @param debug
|
||||
* @param options
|
||||
*/
|
||||
constructor({connection, vuex, debug, options}){
|
||||
|
||||
|
@ -22,7 +23,7 @@ export default class VueSocketIO {
|
|||
}
|
||||
|
||||
/**
|
||||
* Vuejs entrypoint
|
||||
* Vue.js entry point
|
||||
* @param Vue
|
||||
*/
|
||||
install(Vue){
|
||||
|
@ -37,7 +38,7 @@ export default class VueSocketIO {
|
|||
|
||||
|
||||
/**
|
||||
* registering socketio instance
|
||||
* registering SocketIO instance
|
||||
* @param connection
|
||||
* @param options
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue