ComPDFKit Web SDK
    Preparing search index...

    Function getHashParameter

    • Third configuration channel for iframes; only reads location and never touches the DOM. Splits on & and the first =, then decodeURIComponent: '+' is kept as is (URLSearchParams cannot be used because it turns '+' into a space and corrupts base64 licenses). When the default is a boolean, 'true' / '1' / 'false' / '0' become booleans.

      Type Parameters

      • T extends string | boolean = string

      Parameters

      • name: string
      • OptionaldefaultValue: T

      Returns string | T