Client
template.subscribe(name, [arg1, arg2...], [options])
A version of Meteor.subscribe that is stopped when the template is destroyed.
Arguments
- name String
-
Name of the subscription. Matches the name of the server's
publish()
call. - arg1, arg2... Any
-
Optional arguments passed to publisher function on server.
Options
- onReady Function
-
Passed to
Meteor.subscribe
. - onStop Function
-
Passed to
Meteor.subscribe
. - connection DDP Connection
-
The connection on which to make the subscription.
Please login to continue.