Search
Search
navigateTo
navigateTo
navigateTo
Navigate the Framer UI to a target by its ID
await framer.navigateTo(nodeId, opts)
Parameters
nodeId: string– Unique identifier of the item to navigate to. This needs to be the node ID.opts?: NavigableOptions | undefined– Options likezoomIntoViewandselect
Returns
Promise<void>– that resolves after the navigation request is handled. When itnodeIdisn't in the current mode (e.g., the plugin is open on the canvas and the target is a collection item), it might terminate or restart the plugin in the new mode.
See Also
node.navigateTo(opts)– navigate to a specific canvas nodecollectionItem.navigateTo(opts)– navigate to a collection itemcodeFile.navigateTo(opts)– open a Code File in the editor