ModalOpenOptions
Options for platform.modal.open / conn.modal.open.
Properties
Section titled “Properties”name: string;The name of the caller app’s own surface to render as the modal body.
params?
Section titled “params?”optional params?: unknown;Structured-clone-serializable params passed to the modal body.
presentation?
Section titled “presentation?”optional presentation?: "card" | "sheet";How the modal presents on phones (below the shell’s compact breakpoint). card (default) keeps
the centered, viewport-capped panel; sheet fills the screen edge-to-edge for maximum body room.
No effect above the breakpoint — both render as the normal centered card.
title?
Section titled “title?”optional title?: string;Title shown in the shell-owned modal frame.
width?
Section titled “width?”optional width?: number;Preferred modal width in pixels; the shell clamps it to the viewport.