File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
.docs/angular-meteor/client/content/api Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -109,11 +109,11 @@ <h4>Parameters</h4>
109109</ tr >
110110</ tbody > </ table >
111111< br >
112- < h3 > < p > < code > < span class ="pln "> subscribe( :subscriptionName );</ span > </ code > </ p > </ h3 >
112+ < h3 > < p > < code > < span class ="pln "> subscribe( :subscriptionName, :PublisherArguments );</ span > </ code > </ p > </ h3 >
113113< br >
114114A shorter ('syntactic sugar') function for < a href ="/api/subscribe "> $meteor.subscribe</ a > .
115115
116- Takes only one parameter and doesn't return a promise like < a href ="/api/subscribe "> $meteor.subscribe</ a > does.
116+ Takes the subscription name and its paraemters, but does not return a promise like < a href ="/api/subscribe "> $meteor.subscribe</ a > does.
117117
118118When called after $scope.meteorCollection, it acts the same but in addition it automatically closes the subscription when the scope is destroyed.
119119
@@ -138,6 +138,13 @@ <h4>Parameters</h4>
138138 </ p > </ td >
139139 < td > < a href ="" class ="label type-hint type-hint-object "> Yes</ a > </ td >
140140 </ tr >
141+ < tr >
142+ < td > publisherArguments</ td >
143+ < td > < a href ="" class ="label type-hint type-hint-object "> any</ a > </ td >
144+ < td > < p > Optional arguments passed to publisher function on server.</ p > </ td >
145+ < td > < a href ="" class ="label type-hint type-hint-object "> No</ a > </ td >
146+ </ tr >
147+
141148 </ tbody >
142149</ table >
143150#### Returns
You can’t perform that action at this time.
0 commit comments