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

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
主站蜘蛛池模板: 垫江县| 蓬安县| 工布江达县| 汶上县| 周宁县| 盐山县| 克东县| 施秉县| 阳东县| 历史| 汨罗市| 昌平区| 诸城市| 烟台市| 九龙县| 普洱| 进贤县| 保康县| 炉霍县| 平度市| 微山县| 克拉玛依市| 嵊泗县| 邹城市| 宁远县| 开阳县| 中卫市| 本溪| 大城县| 宁武县| 玉环县| 新民市| 板桥市| 土默特右旗| 舟山市| 隆化县| 大新县| 兴宁市| 长沙市| 普陀区| 阿拉善右旗|