浏览代码

Add summary of static method approach to main README

undefined
Kevin C. Coram 1年前
父节点
当前提交
e8034ac8be
签署人:: kevin GPG 密钥 ID: 0342351B3D61AD35
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. +7
    -1
      README.md

+ 7
- 1
README.md 查看文件

@@ -24,4 +24,10 @@ The [Parent Form](apps/parent-form) application explores this approach.

Another approach is to allow the outermost, or parent, component create the full Reactive Form. Each child component is given the `FormGroup` containing the portion of the form that it is responsible for rendering.

The [Global Form](apps/global-form) application explores this approach.
The [Global Form](apps/global-form) application explores this approach.

## Parent Component Creates Form ; Child Components Define Structure

Another approach is to allow the parent component to maintain control of creating the full Reactive Form, while allowing each child component to define the shape of the form data by means of static factory methods defined within the child component code.

The [Static Method](apps/static-factory-methods/README.md) application explores this approach.

正在加载...
取消
保存