Skip to content

Reference: navigateTo

Reference: navigateTo

Generated from apps/docs-astro/src/generated/docs.json

navigateTo
Kind 4096 id: 178

Creates and moves the index over to a new snapshot with the given passage id (or the previous one) and returns a reference to it. This is essentially the way of linking between passages in the story. Yes, you can navigate to the same passage multiple times, and it will create a new snapshot each time. It's intended behavior.

Type: Partial

Source: apps/library/src/engine/if-engine.ts :902 (view)

View by id: 178