官术网_书友最值得收藏!

Our First View via Component Building

We've been working hard at framing the base of our app in Chapter 2, Feature Modules, and now it's time to finally get a glimpse of what we're working with. This is all about getting that first view from our sketch to the mobile device screen.

Building views with NativeScript for Angular is not much different than view building for the web. We will use Angular's Component decorator to build various components our UI needs to achieve the desired usability we're after. Instead of using the HTML markup, we will be using NativeScript XML, which is an extremely powerful, yet simple and concise, abstraction of all native view components on both iOS and Android.

We won't be covering all the benefits and types of components you have access to here; but to learn more, we recommend any of the following books: 

In this chapter, we will be covering the following topics:

  • Using Component decorator to compose our views
  • Creating reusable components
  • Creating a custom view filter using Pipe
  • Running the app on the iOS and Android simulators
主站蜘蛛池模板: 长岭县| 桓台县| 靖西县| 郓城县| 青铜峡市| 博湖县| 广德县| 拉萨市| 泸西县| 绥中县| 鄂温| 丹江口市| 南开区| 璧山县| 鄂托克前旗| 城步| 凤城市| 霍山县| 奉新县| 遵义市| 固原市| 康保县| 河东区| 瑞昌市| 辽阳县| 霞浦县| 虞城县| 遂川县| 北京市| 旬邑县| 桂东县| 竹溪县| 勃利县| 英超| 昭觉县| 南陵县| 康马县| 凤阳县| 如东县| 陇南市| 乐昌市|