@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Function bothRender

    • Build a both-variant PreviewRender with output_format: 'both' injected. Requires both preview_url and preview_html.

      Parameters

      • fields: Omit<BothRender, "output_format">

      Returns Tagged<
          {
              render_id: string;
              output_format: "both";
              preview_url: string;
              preview_html: string;
              role: string;
              dimensions?: { width: number; height: number };
              embedding?: {
                  recommended_sandbox?: string;
                  requires_https?: boolean;
                  supports_fullscreen?: boolean;
                  csp_policy?: string;
              };
          },
          "both",
      >