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

How to get the contents of the remaining portion of a globstar route? #140

Open
drarmstr opened this issue Dec 28, 2015 · 0 comments
Open

Comments

@drarmstr
Copy link
Collaborator

When defining a route to capture the remaining part of the path in a globstar (**), what is the appropriate mechanism to obtain what the contents of the remaining path are for the user to process? I couldn't find documentation on this and it doesn't appear as if it is actually saved in the code?

For example, given the definition:

<app-router>
    <app-route path="/mypath/**" import="elements/mypath/mypath.html"></app-route>
</app-router>

And the route: /mypath/foo/bar How should the <mypath> element obtain the foo/bar portion since it isn't assigned to a parameter like the :userId syntax.

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