Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anyone have a working example with $navigateTo? #52

Open
Mixelated opened this issue Aug 12, 2019 · 0 comments
Open

Anyone have a working example with $navigateTo? #52

Mixelated opened this issue Aug 12, 2019 · 0 comments

Comments

@Mixelated
Copy link

Mixelated commented Aug 12, 2019

Listening on a webhook in app.vue which triggers the message. I added the onTap() method with the code this.$navigateTo(MyChats) however it keeps crashing with:

NativeScript encountered a fatal error: TypeError: this.$navigateTo is not a function. (In 'this.$navigateTo(overview_MyChats_vue__WEBPACK_IMPORTED_MODULE_4_["default"])', 'this.$navigateTo' is undefined)

  • I guess the question here is what scope does OnTap() operate it?

I'm using Nativescript with VueJS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant