You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi , everyone
new to NativeScript, found it is fascinating ! though i am confused by knowing that TypeScript is the "first citizen" in NativeScript world ! but i don't know anything about TypeScript , is this gonna be a problem to use NativeScript ?
NO.1 how should i use plugins written by TypeScript in JavaScript context ?
NO.2 can i just use plain JavaScript (ES6 support ? ) to write a plugin if necessary ?
thank you
The text was updated successfully, but these errors were encountered:
Thank you for your question.
In NativeScript you could use vanilla JavaScript as well as TypeScript as program language. With both options, you could use all features plugins build for the platform. In regard to that TypeScript has been integrated in NativeScript to help the programmer, who is coming from other strongly-typed language and would like to use IntelliSense while writing their app.
After you add plugin in your project tns plugin add <plugin_name> you should required it in your project to be able to use its functionality. You could review our getting started project from the documentation.
About your second question, you could read more about NativeScript plugin here.
In case you have more questions you could use our StackOverflow or Slack canals, where you could also find help from our community .
Uh oh!
There was an error while loading. Please reload this page.
Hi , everyone
new to NativeScript, found it is fascinating ! though i am confused by knowing that TypeScript is the "first citizen" in NativeScript world ! but i don't know anything about TypeScript , is this gonna be a problem to use NativeScript ?
NO.1 how should i use plugins written by TypeScript in JavaScript context ?
NO.2 can i just use plain JavaScript (ES6 support ? ) to write a plugin if necessary ?
thank you
The text was updated successfully, but these errors were encountered: