Skip to content

@tavora/sdk / PanelOpenResult

Type Alias: PanelOpenResult ​

PanelOpenResult = "shown" | "switched" | "opened" | "failed"

Defined in: packages/sdk/src/protocol.ts:155

What panels.open did.

  • shown: a panel of that type already showed the content (or none was asked for), and Tavora brought it to the front.
  • switched: an open panel of that type switched to the content (its panel.onNavigate handler succeeded).
  • opened: Tavora opened a new panel of that type.
  • failed: the panel that should switch could not save or did not answer in time. It keeps what it showed, and Tavora offers the user to open the content in a new panel.

For Tavora 0.23.9 and @tavora/sdk 0.3.3. Code under the MIT License. The Tavora name and logo are not covered by it.