You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @matt4446
The problem probably is that topmost().currentPage actually is the previous page as the navigation is not yet completed at the moment ngOnInit() is called.
Good news: with #104 we you can get your parent Page trough DI. So you can do the following in the component you are navigating to:
import {Page} from "ui/page";
@Component({
// ...
})
class MyComponent {
constructor(page: Page) {
page.actionBarHidden = true;
}
}
using the property
actionBarHidden
has no effect after the first router navigation.I'm not sure if this is intended or due to the planned changes for the action bar template?
The text was updated successfully, but these errors were encountered: