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

Chapter 2. A Weather Forecast Widget with Angular 2

In this chapter, we'll create a simple application that shows us the weather forecast. The framework we use, Angular 2, is a new framework written by Google in TypeScript. The application will show the weather of the current day and the next. In the following screenshot, you can see the result. We will explore some key concepts of Angular, such as data binding and directives.

We will build the application in the following steps:

  • Using modules
  • Setting up the project
  • Creating the first component
  • Adding conditions to the template
  • Showing a forecast
  • Creating the forecast components
  • The main component
主站蜘蛛池模板: 南投市| 杭锦后旗| 秦皇岛市| 德庆县| 南阳市| 民乐县| 邵东县| 浙江省| 于田县| 广东省| 平陆县| 白河县| 永安市| 古蔺县| 彩票| 蕉岭县| 伊吾县| 车险| 师宗县| 龙江县| 金堂县| 桦川县| 沅陵县| 丹巴县| 万全县| 吉安市| 宜章县| 贵阳市| 宜君县| 拜城县| 密云县| 武邑县| 喀喇沁旗| 屏东县| 巧家县| 广汉市| 博爱县| 晋江市| 孝义市| 静海县| 沁源县|