You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The helpers method is part of the ReactiveContext, and available on every context and $scope.
45
+
* These method are defined as Object, where each key is the name of the variable that will be available on the context we run, and each value is a function with a return value.
46
+
* Under the hood, each helper starts a new Tracker.autorun. When its reactive dependencies change, the helper is rerun.
47
+
* To trigger a rerun every time an specific Angular variable change, use getReactively](/api/1.3.1/get-reactively) to make your Angular variable reactive inside the helper its used in.
48
+
* Each helper function should return a MongoDB Cursor and the helpers will expose it as a normal array to the context.
49
+
*
50
+
* @param definitions - Object containing `name` => `function` definition, where each name is a string and each function is the helper function. Should return a [MongoDB Cursor](http://docs.meteor.com/#/full/mongo_cursor)
51
+
* @return This method returns this, which the the reactive context, in order to provide the ability to chain the logic.
0 commit comments