Skip to content

Conversation

@atanasovg
Copy link
Contributor

IMPORTANT Do not merge yet - we need unit tests & functional tests

API:

Exclude the main page from the backstack:

var application = require("application");

// mainEntry is of type "NavigationEntry"
application.mainEntry = {
    moduleName: "./main-page",
    backstackVisible: false
}

Navigate to a Page that should not be in the backstack

var frame = require("ui/frame");
var topFrame = frame.topmost();

topFrame.navigate({
    moduleName: "./some-inner-page",
    backstackVisible: false
});

TODO

  • Write unit tests
  • Write functional tests
  • Update the navigation article or create a new one, explaining how the feature works

Resolves #548

@ns-bot ns-bot added cla: yes and removed cla: no labels Sep 2, 2015
@ns-bot
Copy link

ns-bot commented Sep 2, 2015

@dtopuzov
Copy link
Contributor

dtopuzov commented Sep 2, 2015

run ci

@ns-bot
Copy link

ns-bot commented Sep 2, 2015

@dtopuzov
Copy link
Contributor

dtopuzov commented Sep 2, 2015

run ci

@ns-bot
Copy link

ns-bot commented Sep 2, 2015

@dtopuzov
Copy link
Contributor

dtopuzov commented Sep 3, 2015

run ci

@ns-bot
Copy link

ns-bot commented Sep 3, 2015

@hamorphis
Copy link
Contributor

run ci

@ns-bot
Copy link

ns-bot commented Sep 3, 2015

@hamorphis hamorphis merged commit cfe0902 into master Sep 3, 2015
@ns-bot
Copy link

ns-bot commented Sep 3, 2015

@atanasovg atanasovg deleted the atanasovg/navigation-backstack branch September 24, 2015 14:01
@lock
Copy link

lock bot commented Aug 29, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Aug 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose public API controlling whether a Page should be added to the navigation backstack or not

5 participants