From the course: Building Native Mobile Apps with NativeScript and Angular 2

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Containers

Containers - JavaScript Tutorial

From the course: Building Native Mobile Apps with NativeScript and Angular 2

Start my 1-month free trial

Containers

- [Instructor] Besides layouts, NativeScript comes with two container views; these are TabView and ScrollView. ScrollView is a very useful container that allows contents to be scrollable if they are larger than the available screen size. We implemented ScrollView in the item details component. TabView allows you to display different views on the same page, and link icons to each tab. We won't be using TabView for this application, and frankly, you can get the safe effect with more control by using other mechanisms that I'll be showing you in this course. Let's head over to the NPM website and do a search for NativeScript Telerik UI. The NativeScript Telerik UI package includes a popular container that you can use as a SideDrawer that's not part of the NativeScript package by default. It is distributed through NPM as a separate plugin and includes a few different UI components, some of which are premium, but we'll only see the free SideDrawer. Let's go out to the terminal and install…

Contents