Angular: Difference between revisions

From 탱이의 잡동사니
Jump to navigation Jump to search
Line 4: Line 4:
== Basics ==
== Basics ==
Augular is a framework for building client applications in HTML, CSS, and JavaScript / TypeScript.
Augular is a framework for building client applications in HTML, CSS, and JavaScript / TypeScript.
* Gives our applications a clean structure.
* Includes a lot of re-usable code.
* Makes our applications more testable.


=== Component ===
=== Component ===

Revision as of 11:34, 8 January 2018

Overview

Angular2 내용 정리.

Basics

Augular is a framework for building client applications in HTML, CSS, and JavaScript / TypeScript.

  • Gives our applications a clean structure.
  • Includes a lot of re-usable code.
  • Makes our applications more testable.

Component

Encapsulates the template, data and the behavior of a view.

Directive

To modify DOM elements and/or extend their behavior.

Observable

Observable은 Angular 에서 사용되는 객체로(자바 스크립트 객체가 아님) 일반적으로 다음과 같은 형태로 사용된다. <source lang=javascript> observable_return_function.subscribe() </source> observable_return_function 에 의해 정의된 특정 조건이 갖춰지면 observable 이 생성되고, .subscribe 를 통해 observable 함수가 실행된다.

Tutorial