navigateTo

Navigate the UI to this Collection item. May switch modes to reveal the relevant view, such as the CMS editor.

await collectionItem.navigateTo({
  scrollTo: { collectionFieldId: fieldId },
})

Parameters

  • opts: NavigableOptions (optional) – Optional navigation options, such as scrolling to a specific field.

Returns

  • Promise<void>