We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was trying with this.api.call but without success.
this.api.call
I mean
this.api.call('hello')
works and call hello method, but I can't use arguments.
hello
The text was updated successfully, but these errors were encountered:
I found that argument need to be array.
this.api.call('hello', ["message"])
Vue.prototype.$call = (method, ...args) => Vue.api.call(method, [...args])
Sources
https://github.com/oortcloud/node-ddp-client
https://medium.com/front-end-weekly/easily-connect-react-native-to-a-meteor-server-128dc3683041
If anyone want to use it like me you can add this line at the end of ddp.js plugin file
ddp.js
Vue.prototype.$call = function(method, ...args) { return this.api.call(method, [...args]) };
I hope this method will be added to this library in future.
Sorry, something went wrong.
No branches or pull requests
I was trying with
this.api.call
but without success.I mean
works and call
hello
method, but I can't use arguments.The text was updated successfully, but these errors were encountered: