ComPDFKit Web SDK
    Preparing search index...

    Function getCurrent

    • Returns the current field if it is in the field list. With preferFocused set, the focused field comes first.

      Parameters

      • Optionalkey: number

        The document viewer key; defaults to the active viewer.

      • Optionalcandidates: readonly unknown[]

        The field list to check against; defaults to getFields().

      Returns unknown

      The field widget, or null.