Skip to content

Using page.showModal with @Component's #98

Closed
@NathanWalker

Description

@NathanWalker

Given my.component is an angular Component:

page.showModal('./pages/my.component', 'Modal Context', () => {
 // close function
}, true);

Wasn't too surprised to see it throw this:

file:///app/tns_modules/ui/frame/frame-common.js:83:94: JS ERROR Error: Failed to load Page from entry.moduleName: ./pages/my.component

Curious how to integrate the page's showModal api with nativescript-angular.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions