ngCourse2 icon indicating copy to clipboard operation
ngCourse2 copied to clipboard

Update - Components in Angular

Open AbdellaToronto opened this issue 3 years ago • 0 comments

Components in Angular

Component definition based off AngularJS (correct, not sure if still relevant)

  • [ ] We could potentially get rid of intro page and move the 1st sentence to the “Creating Components” page

Creating components

View Example

  • [x] plnkr link works but does not run

Application Structure with Components

  • [ ] Code example could have a visual equivalent?

Passing Data into a Component

  • [ ] Review 1st sentence structure
  • [ ] Remove Angular 1.x reference and add a note about 1-direction binding Parent -> Child

Responding to Component Events

  • [ ] Needs to elaborate a bit more on Output()

Using Two-Way Data Binding

  • [ ] 1st sentence implies we need to use ngModel for this (ngModel is used as an example)
  • [x] Plunker doesn’t work

Accessing Child ….

  • [ ] Mention the #myForm variable before the example (reader probably doesn’t know what to look for)
  • [ ] Could have a strict example where the child’s type is mentioned?

Projection

  • [ ] Make “content projection” bold
  • [ ] Add subsection header for Multiple Content Projection

“Structuring Applications with Components” ->

  • [ ] “Defining Component Responsibilities”?

AbdellaToronto avatar Apr 04 '21 19:04 AbdellaToronto