Skip to content

NavigationEntry.bindingContext property #731

@hamorphis

Description

@hamorphis

When you navigate to a page and provide a bindingContext, it would be nice this context to become the bindingContext of the page. In this way, you would not have to subscribe to each page's navigatedTo event simply to set its bindingContext. Instead you can do it like this:

    frameModule.topmost().navigate({
        moduleName: "details-page",
        bindingContext: new DetailsViewModel(id),
        animated: true,
        transition: {name: "slide"}
    });

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions