ComPDFKit Web SDK
    Preparing search index...

    Type Alias ClickMiddleware

    ClickMiddleware: (dataElement: string, info: { type: string }) => void

    Callback of UI.setClickMiddleware: (dataElement of the clicked element, { type }).

    Type Declaration

      • (dataElement: string, info: { type: string }): void
      • Parameters

        • dataElement: string

          The dataElement of the clicked element.

        • info: { type: string }

          Details of the click.

          • type: string

            Kind of the clicked element (a UI.ClickedItemTypes value; currently always 'button').

        Returns void