Does not support feature Event Modifiers
pinghe opened this issue · 5 comments
pinghe commented
Does not support feature Event Modifiers
v-stream:click.stop
regou commented
stop & prevent default you may you do
operator for now
Others use options: { once: true, passive: true, capture: true }
https://github.com/vuejs/vue-rx/blob/master/README.md#v-stream-streaming-dom-events
pinghe commented
v-stream:click="plus$"
domStreams: ['plus$'],
subscriptions () {
this.plus$
.do(x => {
console.log(x.event)
x.stopPropagation()
})
.catch(err => {
console.log('error: ', err)
})
output:
error: TypeError: x.stopPropagation is not a function
pinghe commented
Need to add .native Modifier, otherwise the following error occurs
error: TypeError: x.event.stopPropagation is not a function