Skip to content

CreateChildOptions

Describes the new Item for BaseWriteItem.createChild.

readonly optional key?: string

The key of the new Item relative to its parent. A sibling carrying this key loses it.

undefined, giving the Item no key


readonly optional properties?: Record<string, any>

Initial Property values keyed by Property key. A value that does not fit its Property definition is not stored.

{}


readonly optional state?: string

The initial state, which must be marked initial on the Template.

The Template’s default state, or null when the Template declares no states