We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 580cde3 commit 979bb81Copy full SHA for 979bb81
README.md
@@ -137,6 +137,16 @@ This is useful when you need to pass along temporary variables like `v-for` iter
137
const plusData$ = this.plus$.pluck('data')
138
```
139
140
+Starting in 3.1 you can also pass along extra options (passed along to native `addEventListener` as the 3rd argument):
141
+
142
+``` html
143
+<button v-stream:click="{
144
+ subject: plus$,
145
+ data: someData,
146
+ options: { once: true, passive: true, capture: true }
147
+}">+</button>
148
+```
149
150
See [example](https://github.com/vuejs/vue-rx/blob/master/example/counter.html) for actual usage.
151
152
### Other API Methods
0 commit comments