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

pager.showChild does not fire when called from parent page 'afterShow' event #155

Open
hereswhatidid opened this issue Jan 20, 2014 · 0 comments

Comments

@hereswhatidid
Copy link

I'm trying to initiate a default sub-page dynamically by attaching a function to the afterShow event that will loop through the child pages, determine if any are already visible, and if none are then show the first available child page.

I'm able to get the child pages from the afterShow event without any problems but a call to pager.showChild( route ) does not function nor does it cause an error. If I manually call the pager.showChild( route ) with the same route as that found in the afterShow event function, it works properly.

Are the child pages not initiated at that point in the event chain?

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