Reference

bindList

Binds a reactive list of items to DOM nodes before a marker node.

Signature

function bindList<T>(parent: ParentNode, marker: ChildNode, items: (): readonly T[], renderItem: (item: T, index: number, items: readonly T[]): RenderValue, options: BindListOptions<T>): Dispose