Nutrient Web SDK
    Preparing search index...

    PDF action to trigger a named action. This action is not implemented yet.

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

    Create a new NamedAction

    const action = new NutrientViewer.Actions.NamedAction({ action: "nextPage" });
    

    Hierarchy

    Index

    Constructors

    Properties

    action: string

    The name of the action. This includes but is not limited to the following actions:

    Supported:

    • nextPage
    • prevPage
    • firstPage
    • lastPage
    • find
    • print
    • outline
    • search
    • zoomIn
    • zoomOut
    • saveAs
    • fullScreen

    Not supported:

    • goBack
    • goForward
    • goToPage
    • brightness
    • info
    • close
    • quit

    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