Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streaming custom events from subcomponents with multiple parameter values #80

Closed
pinghe opened this issue Apr 9, 2018 · 2 comments
Closed

Comments

@pinghe
Copy link

pinghe commented Apr 9, 2018

What to do when custom events pass multiple parameters

this.$emit('pageChanged', oldPage, newPage, direction)
@regou
Copy link
Collaborator

regou commented Apr 10, 2018

The rx stream output only one value, in this case merge them as object {oldPage, newPage, direction}

@pinghe
Copy link
Author

pinghe commented Apr 10, 2018

thanks

@pinghe pinghe closed this as completed Apr 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants