- NativeScript Core
- NativeScript with Angular
- NativeScript with Vue.js
- API Reference
- NativeScript Sidekick
Contains the Frame class, which represents the logical View unit that is responsible for navigation within an application.
Gets a frame by id.
Navigates back using the navigation hierarchy (if any). Updates the Frame stack as needed. This method will start from the topmost Frame and will recursively search for an instance that has the canGoBack operation available.
Sets the extended android.app.Fragment class to the Frame and navigation routine. An instance of this class will be created to represent the Page currently visible on the srceen. This method is available only for the Android platform.
Deprecated. Use getFrameById() if you want to retrieve a frame different than the topmost one. Gets the frames stack.
Gets the topmost frame in the frames stack. An application will typically has one frame instance. Multiple frames handle nested (hierarchical) navigation scenarios.