ComPDFKit Web SDK
    Preparing search index...

    Function setCustomLoading

    • Replaces the content of the centered loading row. element accepts an HTML string or an HTMLElement; styles is a style object applied to it. Pass null to restore the default.

      Parameters

      Returns void

      instance.UI.setCustomLoading({ element: '<div class="spinner"></div>', styles: { color: '#1460f3' } });