ComPDFKit Web SDK
    Preparing search index...

    Function disableElements

    • Disables elements, hiding them from the UI. Elements disabled through this API cannot be re-enabled by the viewer itself, only by enableElements. A single string is accepted too.

      Parameters

      • dataElements: string | string[]

        A dataElement or an array of them.

      Returns void

      instance.UI.disableElements(['printButton', 'downloadButton']);