Nutrient Web SDK
    Preparing search index...

    Type Alias DialogSlotConfiguration<Params>

    DialogSlotConfiguration: SlotConfiguration<Params> & {
        autoResolve?: DialogAutoResolve;
    }

    A confirmation dialog slot configuration. Extends UI.SlotConfiguration with autoResolve, letting embedders skip the prompt and resolve the dialog automatically.

    Type Parameters

    • Params

    Type Declaration

    • OptionalautoResolve?: DialogAutoResolve

      Skip the dialog UI entirely and resolve it automatically. See UI.DialogAutoResolve for the per-slot meaning of each value.

      When set, autoResolve takes precedence over render: render is not called (so a custom render that will never be shown can't run incidental side effects) and the dialog resolves with the given action. This also wins over the hide applied by the minimal UI preset, which works by returning null from render.

      Leave it unset (the default) to keep the dialog's normal behaviour, where render returning null hides the slot and takes the existing cancel/dismiss path.

      ui: { contentEditor: { downloadConfirm: { autoResolve: "accept" } } }