Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "which a require
statement would load into your code."
A block of code is set as follows:
{ "name": "tns-template-hello-world", "main": "app.js", "version": "1.5.0", ... more json documentation fields... }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
{
"nativescript": {
"id": "org.nativescript.crossCommunicator",
"tns-android": {
"version": "1.5.0"
},
Any command-line input is written as follows:
nativescript run ios --emulator
New terms and important words are shown in bold or italics. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "You can probably guess that the Label will still say Tap the button."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.