10. Portal
Portal : 생성할 Component, 또는 Template과 관련 정보
PortalOutlet : Portal의 실제 DOM을 그려줄 위치
• 동적으로 Component 또는 TemplateRef 생성
• *ngComponentOutlet?
둘 다 Component를 동적으로 생성할 수 있나, Portal은
TemplateRef도 동적 생성을 지원합니다.
18. 그 외에
• import { TextFieldModule } from ‘@angular/cdk/text-field'
AutofillMonitor
- Injectable
- 브라우저에 의해 자동 입력되는 값을 감지
cdkTextareaAutosize
- Directive
- Textarea를 콘텐츠에 맞게 자동으로 크기를 변경합니다.
19. 그 외에
• import { SelectionModel } from ‘@angular/cdk/collections'
하나 또는 그 이상의 아이템들을 리스트에서 선택할 수 있는 데이터
모델
선택 기능이 필요한 UI에 유용
20. 참조
• 유용한 블로그 글
Angular In Depth
- 미디엄 블로그 https://blog.angularindepth.com/
- 좋은 Angular 글들이 많아요! !
Custom Overlays with Angular Overlays
https://blog.thoughtram.io/angular/2017/11/20/custom-
overlays-with-angulars-cdk
21. 예제 코드
• 깃헙에 예제 코드 몇 개 올렸습니다. 하지만 예제가 몇 개 없어요...
https://github.com/seokju-na/angular-cdk-examples.git