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

Expose queryComponent in the module #4

Closed
AdrianRibao opened this issue Jan 28, 2016 · 4 comments
Closed

Expose queryComponent in the module #4

AdrianRibao opened this issue Jan 28, 2016 · 4 comments

Comments

@AdrianRibao
Copy link

Do you think it's a good idea to expose the queryComponent (and perhaps all the other components) in the module?

I think it could be very useful. I had a situation where the only thing I needed was the query string but I couldn't get it.

@sporto
Copy link
Owner

sporto commented Jan 28, 2016

Yes this sounds useful, not sure about the name queryComponent for the function

@AdrianRibao
Copy link
Author

I think the name is ok.

BTW, great new things in v7. I like that the query is removed when there is an empty value, I was taking care of that in my code and now the library do it for me. Great!

@sporto
Copy link
Owner

sporto commented Jan 29, 2016

7.2 adds queryToString, which is equivalent to queryComponent

@sporto sporto closed this as completed Jan 29, 2016
@AdrianRibao
Copy link
Author

Great thanks!

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