Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ConceitedCode
· 13y ago · 0 comments
Has anyone figure out how to use this when switching between views?
Comments
[–]
psgibbs
13y ago
If you take a look at this video:
http://www.youtube.com/watch?v=P6KITGRQujQ
and associated tutorial, it will give you an example of binding to the RouteChange events for exactly this use case.
[–]
diggan
13y ago
Can you show how you are using the views? Are they directly in the body?
[–]
ConceitedCode
OP
13y ago
Similiar to the foodme example app (
https://github.com/IgorMinar/foodme/blob/master/app/js/app.j...
).