-
Notifications
You must be signed in to change notification settings - Fork 68
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
sending wildcards to the viewmodel #52
Comments
ok this is how I have implemented it I've called it nameParam so you do nameParam:'observablename' I've put this at the start of your setParams function
|
Sounds excellent. I can see how this can be really useful. Do you got a fork that I can merge, are you interested in sending a pull request or should I copy the above code? |
Hi - glad you like it - I will fork and do a pull request but if I haven't and you want to incorporate it go ahead any how. |
mmm forked it but then when I try and clone repository to my PC I get C:\Program Files (x86)\Git\bin\git.exe clone -v --recurse-submodules --progress "[email protected]:GilesBradshaw/pagerjs.git" "C:/Users/giles/Documents/Visual Studio 2012/Projects/gbpagerjs" Maybe you could just copy my code into your project if you wish to. cheers g |
I updated the repo so it can be cloned from windows and fixed the You can read about binding_wildcard_to_observable. |
brilliant! Thanks for that :) |
More of a suggestion than a bug but would be very interested to know if this might be possible.
I'd like to be able to have an href like this parent/x/child/y/grandchild/z
such that x y and z get bound to values in the view model - in the same manner as URI parameters can be
and pages set up like this
The text was updated successfully, but these errors were encountered: