0

As we use BrowserModule for using ngModel in web area, and is imported by default while creating new ng app, what is the equivalent for this in NativeScript?

2
  • what are you trying to achieve? Commented Aug 30, 2018 at 2:29
  • @Jannomeister I want to use ngModel in nativescript app. NativeScript team has own equivalents for Angular's core modules. Is there anything for BrowserModule or we can just use it? Commented Aug 30, 2018 at 6:57

1 Answer 1

1

If you want to use ngModel to nativescript app, you could use NativeScriptFormsModule and import it to your app.module.ts as following:

import { NativeScriptFormsModule } from "nativescript-angular/forms"

you can check this link here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.