offer.fromList
Offers the items already in another list.
Signature
offer.fromList(key: string, where?: ContentWhere, opts?: { maxItems?: number }): ContentOfferParameters
| Name | Type | Required | Description |
|---|---|---|---|
key | string | Required | The name of the list. |
where | ContentWhere | Optional | The field conditions an entry must meet. |
opts | { maxItems?: number } | Optional | Extra settings, such as maxItems for the most entries to offer. |
Returns
ContentOffer The offer, to pass to list.add or list.addRow.

