ComPDFKit Web SDK
    Preparing search index...

    Interface CompatOptions

    Settings of the compatibility layer for the 2.x API (WebViewerOptions.compat). By default, every call to a deprecated API logs a console notice.

    interface CompatOptions {
        onDeprecated?: (info: DeprecationInfo) => void;
        silent?: boolean;
    }
    Index
    onDeprecated?: (info: DeprecationInfo) => void

    Hands notices to the integrator for reporting.

    silent?: boolean

    Turns off console notices (onDeprecated is still called).