Class: GoToEmbeddedAction

PSPDFKit.Actions.GoToEmbeddedAction

PDF action to go to an embedded file. This action is not implemented yet.

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

Constructor

new PSPDFKit.Actions.GoToEmbeddedAction(args)

Go to an embedded file.

Parameters:
Name Type Description
args object
Example

Create a new GoToEmbeddedAction

const action = new PSPDFKit.Actions.GoToEmbeddedAction({
  relativePath: "/other_document.pdf"
});

Extends

Members




Members

newWindow: boolean

Should the file be opened in a new window?

Type:
  • boolean

relativePath: string

The relative path to the embedded file.

Type:
  • string

subActions: PSPDFKit.Immutable.List.<Action>

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

Type:

targetType: string

The target type. Can either be parent or child.

Type:
  • string