メインコンテンツへスキップ
Docs
›
offer.fromList

offer.fromList

Offer

別のリストにすでにある項目を提示します。

シグネチャ

offer.fromList(key: string, where?: ContentWhere, opts?: { maxItems?: number }): ContentOffer

パラメーター

名前型必須説明
keystring必須リストの名前。
whereContentWhere任意項目が満たすべきフィールドの条件。
opts{ maxItems?: number }任意追加の設定。maxItems で提示する項目の上限を指定できます。

戻り値

ContentOffer 提示内容。list.add または list.addRow に渡します。