MovaPatch.insertAfter constructor

const MovaPatch.insertAfter(
  1. String path,
  2. MovaComponent component
)

Inserts component as a new sibling immediately after the node at path, at the same nesting level as that anchor.

在 path 处的节点之后插入 component 作为新的同级兄弟节点,嵌套层级 与该锚点相同。

Implementation

const factory MovaPatch.insertAfter(String path, MovaComponent component) = MovaPatchInsertAfter;