Angular2NotesForProfessionals
Chapter 2: Components
20
...........................................................................................................................................
Section 2.1: A simple component
20
...............................................................................................................................
Section 2.2: Templates & Styles
20
.................................................................................................................................
Section 2.3: Testing a Component
21
.............................................................................................................................
Section 2.4: Nesting components
22
..............................................................................................................................
Chapter 3: Component interactions
24
..................................................................................................................
Section 3.1: Pass data from parent to child with input binding
24
...............................................................................
Section 3.2: Parent - Child interaction using @Input & @Output properties
30
........................................................
Section 3.3: Parent - Child interaction using ViewChild
31
...........................................................................................
Section 3.4: Bidirectional parent-child interaction through a service
32
....................................................................
Chapter 4: Directives
35
................................................................................................................................................
Section 4.1: *ngFor
35
.......................................................................................................................................................
Section 4.2: Attribute directive
36
...................................................................................................................................
Section 4.3: Component is a directive with template
36
..............................................................................................
Section 4.4: Structural directives
36
...............................................................................................................................
Section 4.5: Custom directive
36
.....................................................................................................................................
Section 4.6: Copy to Clipboard directive
36
...................................................................................................................
Section 4.7: Testing a custom directive
38
.....................................................................................................................
Dostları ilə paylaş: