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
{{ message }}
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.
Working with an app based on the new NS 4.0 tabs demo template tns create my-tab-js --template tns-template-tab-navigation, I set an id on the TabView in app-root.xml and was unable to retrieve it using the unqualified global method getElementById("tabViewContainer").
I eventually worked around the problem with args.object.page.frame.parent.parent.selectedIndex = 0 but that is an ugly way to get to the root TabView container.
It would be nice if this plugin was updated to access the new design patterns where a TabView (or side drawer) can be the root element instead of a frame.
The text was updated successfully, but these errors were encountered:
Working with an app based on the new NS 4.0 tabs demo template
tns create my-tab-js --template tns-template-tab-navigation
, I set an id on the TabView in app-root.xml and was unable to retrieve it using the unqualified global methodgetElementById("tabViewContainer")
.I eventually worked around the problem with
args.object.page.frame.parent.parent.selectedIndex = 0
but that is an ugly way to get to the root TabView container.It would be nice if this plugin was updated to access the new design patterns where a TabView (or side drawer) can be the root element instead of a frame.
The text was updated successfully, but these errors were encountered: