Commit Graph

3 Commits (be94a48b8a96cd9533a0ffe036e6bac808cab6c5)

Author SHA1 Message Date
Kevin C. Coram 8802b52e54
Use OnPush change detection strategy 2020-01-08 21:33:38 -05:00
Kevin C. Coram b7870b607b
Remove FormBuilder dependency; rname factory methods
* Update factory methods to use the FormGroup(), FormArray(), and
  FormControl() constructors instead of the FormBuilder service.
  This avoids needing to pass the service into each of the static
  factory methods.
* Rename the factory methods to `buildForm`. The consistent use
  of the same name establishes a pattern and makes it clearer
  that the factory methods have the same purpose -- to create the
  (sub)form for the specific component.
2020-01-07 22:39:53 -05:00
Kevin C. Coram cb8144044e
Add fourth approach: Static methods on child components 2020-01-04 09:42:53 -05:00