# ActionBase

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / ActionBase

# Abstract Class: ActionBase

Base class for PDF actions which can be performed when user clicks links, document outlines etc.

## Extends

- [`DocAction`](DocAction)

## Extended by

- [`ActionGoTo`](ActionGoTo)
- [`ActionGoToR`](ActionGoToR)
- [`ActionURI`](ActionURI)
- [`ActionJavaScript`](ActionJavaScript)
- [`ActionFieldsBase`](ActionFieldsBase)
- [`ActionNamed`](ActionNamed)
- [`ActionUnknown`](ActionUnknown)

## Accessors

### id

#### Get Signature

> **get** **id**(): `number`

Gets the reference to the object.

##### Returns

`number`

#### Inherited from

[`DocAction`](DocAction).[`id`](DocAction#id)

***

### om

#### Get Signature

> **get** **om**(): [`ObjectManager`](ObjectManager)

Gets the owner [ObjectManager](ObjectManager) instance.

##### Returns

[`ObjectManager`](ObjectManager)

#### Inherited from

[`DocAction`](DocAction).[`om`](DocAction#om)

## Methods

### free()

> **free**(): `void`

Detaches the object from the [ObjectManager](ObjectManager) and deallocates its memory, if possible.

#### Returns

`void`

#### Inherited from

[`DocAction`](DocAction).[`free`](DocAction#free)

***

### rebind()

> **rebind**(`omTo`): `void`

Rebinds the object from the current [ObjectManager](ObjectManager) to the specified one.

#### Parameters

##### omTo

[`ObjectManager`](ObjectManager)

The new [ObjectManager](ObjectManager) for the object.

#### Returns

`void`

#### Inherited from

[`DocAction`](DocAction).[`rebind`](DocAction#rebind)
