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

Conditional properties #47

Open
Blubasur opened this issue May 5, 2022 · 0 comments
Open

Conditional properties #47

Blubasur opened this issue May 5, 2022 · 0 comments

Comments

@Blubasur
Copy link
Contributor

Blubasur commented May 5, 2022

Is your feature request related to a problem? Please describe.

Firing events with properties depending on special conditions

Example:

navigation menu

Tagging:

A view is fired when the menu is opened, as well as a click is fired when a category is clicked by the user.
The nav click event should contain the clicked category.

Problem:

The walker is not able to recognize which category got clicked. The click event will always contain the first caught value. So the outcome will stay the same, even if the user clicks on different categories.

Describe the solution you'd like

The walker should be able to select the correct data in cases where multiple conditions are possible(click category A or click category B,..). So for the given example: The walker should only push the data of the clicked category and ignore everything else.

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

1 participant