goto

abstract fun goto(path: String, animate: Boolean = true): NavResponse

Navigate to a page and optionally to a specific field.

Return

NavResponse.Success if the target exists, is supported, and is visible. GotoResponse.Failure if the target does not exist, is not supported (e.g., file, unknown types), or is hidden.

Parameters

path

Navigation path in format "pageId" or "pageId/fieldPositionId". - "pageId" navigates to the page top. - "pageId/fieldPositionId" navigates to the page and scrolls to the field.

animate

Whether to animate the scroll. Defaults to true.