The @PageShowing
lifecycle method is invoked before the template has been added to the DOM. From the PageShowing
JavaDoc:
Indicates that the target method should be called when the
@Page
widget it is a member of is about to be displayed in the navigation content panel: after the widget's@PageState
fields have been updated and before it is displayed in the navigation content panel.
Try using @PageShown
instead.