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

using PathJS ajax load html fragment #76

Open
karneaud opened this issue May 12, 2014 · 0 comments
Open

using PathJS ajax load html fragment #76

karneaud opened this issue May 12, 2014 · 0 comments

Comments

@karneaud
Copy link

I was trying to use PathJs to load html fragments and then have it execute code on load complete however the code seems to work by executing .enter() then .to().
If you want to use PathJS to load html fragments and execute code after it you can... by returning false on .enter() I was able to cancel the execution of .to(). So I called the $.load() in .enter() returning false then used

Path.routes.defined[path.path].action();

I believe I am using the framework in "reverse" to get what I want. I proposed rewriting the "run" function to be able to delay do_enter executions till after action has been taken

Question...how does "exit" work?

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