Skip to content

Commit 1cd1d85

Browse files
wxnet2013regou
authored andcommitted
docs: update examples for rxjs 6 (#85)
1 parent 1c49bcb commit 1cd1d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Finally, you can pass additional data to the stream using the alternative syntax
131131
This is useful when you need to pass along temporary variables like `v-for` iterators. You can get the data by simply plucking it from the source stream:
132132

133133
``` js
134-
const plusData$ = this.plus$.pluck('data')
134+
const plusData$ = this.plus$.pipe(pluck('data'))
135135
```
136136

137137
Starting in 3.1 you can also pass along extra options (passed along to native `addEventListener` as the 3rd argument):

0 commit comments

Comments
 (0)