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 21b283d commit ddee876Copy full SHA for ddee876
src/directives/stream.js
@@ -10,6 +10,7 @@ export default {
10
let handle = binding.value
11
const event = binding.arg
12
const streamName = binding.expression
13
+ const modifiers = binding.modifiers
14
15
if (isSubject(handle)) {
16
handle = { subject: handle }
@@ -26,7 +27,7 @@ export default {
26
27
const subject = handle.subject
28
const next = (subject.next || subject.onNext).bind(subject)
29
- if (vnode.componentInstance) {
30
+ if (!modifiers.native && vnode.componentInstance) {
31
handle.subscription = vnode.componentInstance.$eventToObservable(event).subscribe(e => {
32
next({
33
event: e,
0 commit comments