angular는 컴포넌트 형식이라 모든 부분이 컴포넌트로 이루어져있다. 그런 컴포넌트 끼리 데이터를 주고받을 때 사용하는것이 Component Communication이다. 1. @ViewChild와 @ViewChildren 컴포넌트 템플릿에 배치된 자식요소(자식 컴포넌트, 디렉티브, 네이티브 DOM 요소)를 ViewChild라고 한다. 이름에서 알 수 있듯이 @ViewChild는 탐색 조건에 부합하는 1개의 요소를 취득할 수 있고, @ViewChildren는 탐색 조건에 부합하는 여러개의 요소를 한꺼번에 취득할 수 있다. @ViewChild(탐색대상 클래스명) 프로퍼티명: 탐색대상 클래스명; @ViewChildren(탐색대상 클래스명) 프로퍼티명: QueryList; 2. 변수값전달 (왼쪽부터) 1. ..
FrontEnd/Angular
2018. 5. 30. 12:20
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- react
- angular router
- data gird component
- facebook login
- 파이썬3
- data grid component
- React-router
- JPA
- https://www.tistory.com/auth/logout/
- 페이스북 로그인
- CSS
- 파이썬
- Java
- data component
- Redux
- Router
- MySQL
- JavaScript
- JSON
- Python
- mobx
- data component module
- localStorage
- python3
- Spring Boot
- Angular
- jQuery
- data table component
- Spring
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
글 보관함