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

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
主站蜘蛛池模板: 蓬安县| 正镶白旗| 河西区| 江安县| 淳安县| 华池县| 阜阳市| 宁强县| 河间市| 南和县| 稻城县| 安多县| 蚌埠市| 阳春市| 鲁山县| 平定县| 丽江市| 揭阳市| 田林县| 织金县| 渝中区| 文登市| 新闻| 安吉县| 万安县| 融水| 东乌珠穆沁旗| 蒙阴县| 岚皋县| 雷州市| 六安市| 竹溪县| 镇安县| 包头市| 九江市| 襄樊市| 德庆县| 彝良县| 荆门市| 和林格尔县| 济阳县|