[]
        
(Showing Draft Content)

ActionNamed

DsPdfJS API v9.1.0


DsPdfJS API / ActionNamed

Class: ActionNamed

Represents an action that performs some viewer application action such as go to next or previous page, etc.

Extends

Constructors

Constructor

new ActionNamed(om, name?): ActionNamed

Creates a new ActionNamed.

Parameters

om

ObjectManager

ObjectManager that controls the lifetime of the ActionNamed.

name?

string

The action name.

Returns

ActionNamed

Overrides

ActionBase.constructor

Constructor

new ActionNamed(name?): ActionNamed

Creates a new ActionNamed.

Parameters

name?

string

The action name.

Returns

ActionNamed

Overrides

ActionBase.constructor

Accessors

id

Get Signature

get id(): number

Gets the reference to the object.

Returns

number

Inherited from

ActionBase.id


name

Get Signature

get name(): string | null

Gets or sets the name of action. The most usefull names: NextPage, PrevPage, FirstPage, LastPage

Returns

string | null

Set Signature

set name(value): void

Gets or sets the name of action. The most usefull names: NextPage, PrevPage, FirstPage, LastPage

Parameters
value

string | null

Returns

void


om

Get Signature

get om(): ObjectManager

Gets the owner ObjectManager instance.

Returns

ObjectManager

Inherited from

ActionBase.om

Methods

free()

free(): void

Detaches the object from the ObjectManager and deallocates its memory, if possible.

Returns

void

Inherited from

ActionBase.free


rebind()

rebind(omTo): void

Rebinds the object from the current ObjectManager to the specified one.

Parameters

omTo

ObjectManager

The new ObjectManager for the object.

Returns

void

Inherited from

ActionBase.rebind