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
Copy file name to clipboardExpand all lines: README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -241,6 +241,36 @@ var vm = new Vue({
241
241
})
242
242
```
243
243
244
+
#### `$createObservableMethod(methodName)`
245
+
246
+
> This feature requires RxJS.
247
+
248
+
Convert function calls to observable sequence which emits the call arguments.
249
+
250
+
This is a prototype method added to instances. Use it to create a shared hot observable from a function name. The function will assigned as a vm method.
You cannot use the `watch` option to watch subscriptions, because it is processed before the subscriptions are set up. But you can use `$watch` in the `created` hook instead.
0 commit comments