# Class: GoToR

## Core.Actions. GoToR

A GoToR Action. Navigates to a destination in another document.

#### new GoToR(options)

  ##### Parameters:

  Name | Type | Argument | Description
  --- | --- | --- | ---
  `options` | object | <nullable> | A map of properties to set on the Action.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `dest` | Core.Actions.Dest | Gets the destination object.
  `filename` | string | Gets the original filename of the remote document.
  `newWindow` | boolean | Gets whether the document should be opened in a new window or not.

### Extends

- Core.Actions.Action

### Methods

#### onTriggered(owner, event, documentViewer)

  Called when the action is triggered.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `owner` | Annotations.Forms.Field | Core.DocumentViewer | The dispatcher to which this action is attached
  `event` | object | The PDFJS event to use when executing the action
  `documentViewer` | Core.DocumentViewer | The DocumentViewer to use as context for the action execution

  Inherited From:
    - Core.Actions.Action#onTriggered
  Overrides:
    - Core.Actions.Action#onTriggered

#### Search results