@dxos/app-toolkit - v0.16.0
    Preparing search index...

    Function useObjectNavigate

    • Returns an activation handler that opens the subject in the layout, or undefined if the subject is not navigable (e.g. not an Echo object, or not of a user-facing type). Use it for a card's own click. A card lives inside a plank, so its object opens as a plank beside that plank (add), resolved structurally from the target via Attention.getRootAttendableId — or, given detailOf, as that plank's detail unless meta/ctrl is held. The destination path comes from openObject.

      Parameters

      • subject: unknown
      • OptionaldetailOf: string

      Returns undefined | ((event: SyntheticEvent<HTMLElement>) => void)