@mendix/extensions-api - v0.5.0
    Preparing search index...

    Type Alias SelectorResult

    SelectorResult:
        | { selected: Element; status: "ok" }
        | { status: "cancelled" | "none" }

    The data resulting from a selector dialog.

    Type declaration

    • { selected: Element; status: "ok" }
      • selected: Element

        The selected element.

      • status: "ok"

        The status of the selection operation.

    • { status: "cancelled" | "none" }
      • status: "cancelled" | "none"

        The status of the selection operation. "none" means the user explicitly chose to return "none" (possible if allowNone was true).