ComPDFKit Web SDK
    Preparing search index...

    Function setModularHeaders

    • Replaces all headers with the given ones; headers not in the list are removed. Items registered before are kept and can still be referenced.

      Parameters

      • headerList: object | object[]

        A header or an array of headers.

      Returns void

      // Keep only the default top header
      instance.UI.setModularHeaders([instance.UI.getModularHeader('default-top-header')]);