bojue/Web-Editor

动态组件创建

Closed this issue · 0 comments

bojue commented

state: OK

  1. 使用linear-gradient完成组件容器网格话布局
  2. 动态组件实现原理:
    a.viewChild 装饰器,将视图转化成不同的实例
    b.ViewContainerRwd, 视图容器
    c.ComponentFactoryResolve,将实例组件呈现在组件容器上(组件视图)