Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion groceries-js/2.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ The code above adds two new NativeScript UI components: a [text field](https://d
- `<Button>`
- `text`: Controls the text displayed within the button.

There are [many UI components](https://docs.nativescript.org/angular/ui/components) you can use to build NativeScript apps, and you might want to take some time to explore all that’s out there.
There are [many UI components](http://docs.nativescript.org/ui/ui-views) you can use to build NativeScript apps, and you might want to take some time to explore all that’s out there.

Next, let’s focus on the other new UI component in the above example—`<StackLayout>`—and discuss how to organize your UI components in NativeScript apps.

Expand Down
2 changes: 1 addition & 1 deletion groceries-ng/2.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export class User {
}
```

> **NOTE**: This code defines a simple [TypeScript class](http://www.typescriptlang.org/Handbook#classes) that does nothing more than define two properties—`email` and `password`. Note the use of [TypeScript’s `export` keyword](http://www.typescriptlang.org/Handbook#modules-going-external), as we’ll see why that’s important momentarily.
> **NOTE**: This code defines a simple [TypeScript class](http://www.typescriptlang.org/Handbook#classes) that does nothing more than define two properties—`email` and `password`. Note the use of [TypeScript’s `export` keyword](https://www.typescriptlang.org/docs/handbook/modules.html), as we’ll see why that’s important momentarily.

* **b.** Next, open your `app/app.component.ts` file and add the following `import` at the top.

Expand Down