navigateTo

navigateTo

Navigate the Framer UI to a target by its ID.

await framer.navigateTo(nodeId, opts)

When the target isn't in the current mode, it might terminate or restart the plugin in the new mode.

Parameters

  • nodeId: string – The ID of the node to navigate to.

  • opts: NavigableOptions (optional) – The options for the navigation.

Returns

  • Promise<void> – A promise that resolves when the navigation is complete.