FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Allow more flexible composition and navigation with Frame, Page and TabView · Issue #48 · NativeScript/NativeScript · GitHub

Allow more flexible composition and navigation with Frame, Page and TabView #48

Description

From @PanayotCankov on April 17, 2015 10:38

It would be nice if we had a way to declaratively describe some of the app properties that are currently set in the main page's onLoaded, such as the ios navBarVisibility, as well as the app type - single screen, tabbed or with navigation.

For example It would be nice if we could define app.xml as:

<!-- Displays the main-screen page for example in UINavigationController in iOS -->
<NavigationFrame
    xmlns="http://www.nativescript.org/tns.xsd"
    mainPage="app/main-screen">
</NavigationFrame>
<TabFrame
    xmlns="http://www.nativescript.org/tns.xsd">
    <!-- Eventually tab bar pages are specified here along with titles and images. -->
</TabFrame>
<!-- Displays a single page without navigation. -->
<SingleScreenFrame
    xmlns="http://www.nativescript.org/tns.xsd"
    mainPage="app/main-screen">
</SingleScreenFrame>

Copied from original issue: NativeScript/cross-platform-modules#287

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL