ink-cartridge
    Preparing search index...

    Function gotoScreen

    • Jump to any registered screen across branches of the tree.

      A target already on the current path — the current screen or one of its ancestors — takes template + params in place of its own params and is remounted by default. Pass { onlyAttribute: true } to update only its props: when the target is the current screen its mounted instance is kept; an ancestor is not rendered while a deeper page is on top, so it mounts fresh either way, and what survives there is its stored mouse regionFocus map. Pages below the target are dropped, as with any jump to an ancestor.

      Type Parameters

      • C extends ComponentType<any>

      Parameters

      Returns void