ComPDFKit Web SDK
    Preparing search index...

    Type Alias CustomApplyRedactionsHandler

    CustomApplyRedactionsHandler: (
        annotationsToRedact: unknown[],
        originalApplyRedactions: () => Promise<unknown>,
    ) => unknown

    Handler that replaces the default redaction applying after Save is clicked in the redaction confirmation; cleanup waits for the Promise it returns.

    Type Declaration

      • (
            annotationsToRedact: unknown[],
            originalApplyRedactions: () => Promise<unknown>,
        ): unknown
      • Parameters

        • annotationsToRedact: unknown[]

          The redaction annotations to apply.

        • originalApplyRedactions: () => Promise<unknown>

          Performs the default applying.

        Returns unknown

        Any value; a returned Promise is awaited.