Container types supported by loro.
It is most commonly used to specify the type of sub-container to be created.
import { LoroDoc, LoroText } from "loro-crdt";const doc = new LoroDoc();const list = doc.getList("list");list.insert(0, 100);const text = list.insertContainer(1, new LoroText()); Copy
import { LoroDoc, LoroText } from "loro-crdt";const doc = new LoroDoc();const list = doc.getList("list");list.insert(0, 100);const text = list.insertContainer(1, new LoroText());
Container types supported by loro.
It is most commonly used to specify the type of sub-container to be created.