Nutrient Web SDK
    Preparing search index...

    PDF action to hide an annotation or form field.

    It is an Immutable.Record and thus can be updated using set(key, value), for example: action.set("hide", true);.

    When clicking on an annotation with a HideAction, the annotations specified in its annotationReferences property will be hidden.

    Create a new HideAction

    const action = new NutrientViewer.Actions.HideAction({ hide: true });
    

    Hierarchy

    Index

    Constructors

    Properties

    annotationReferences: NutrientViewer.Immutable.List<AnnotationReference>

    A list of references to annotations, either via the pdfObjectId or a form field name.

    hide: boolean

    If true, the action will hide the annotation, otherwise it will show it.

    Actions can be chained by adding them to this immutable List.

    Methods

    • Type Parameters

      • K extends "subActions"

      Parameters

      • key: K

      Returns this

    • Parameters

      • other: unknown

      Returns boolean

    • Parameters

      • keyPath: Iterable<unknown>
      • OptionalnotSetValue: unknown

      Returns unknown

    • Parameters

      • key: unknown

      Returns boolean

    • Parameters

      Returns this

    • Parameters

      Returns this

    • Parameters

      • keyPath: Iterable<unknown>
      • value: unknown

      Returns this

    • Returns Keyed<string, unknown>

    • Parameters

      • keyPath: Iterable<unknown>
      • notSetValue: unknown
      • updater: (value: unknown) => unknown

      Returns this

    • Parameters

      • keyPath: Iterable<unknown>
      • updater: (value: unknown) => unknown

      Returns this

    • Parameters

      • mutator: (mutable: this) => unknown

      Returns this