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

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
主站蜘蛛池模板: 靖西县| 青冈县| 郓城县| 辽中县| 安庆市| 遂川县| 交口县| 吉木萨尔县| 北票市| 农安县| 松潘县| 米林县| 遂平县| 武宁县| 古交市| 姜堰市| 芮城县| 霍城县| 乐业县| 灵丘县| 建宁县| 宜兰市| 汉源县| 抚顺县| 全椒县| 柳州市| 丰台区| 桃源县| 调兵山市| 南木林县| 泸定县| 贵德县| 城市| 竹山县| 本溪| 石台县| 万山特区| 突泉县| 温州市| 兴化市| 海城市|