Esc
Documentation
On this page

Props

PropTypeDefaultDescription
sourceDataSourceNoneResource binding to iterate over
fieldstringNoneField name to iterate over
content requiredPageNode | readonly PageNode[]NoneTemplate rendered per item

Example

ts
Collection({
  source: items(),
  content: Card({ content: Value({ field: "name" }) }),
})

Supporting types

FieldReference
export interface FieldReference {
  field: string;
}

View the source on GitHub