[]
DsPdfJS API / ActionJavaScript
Represents an action that causes a script to be compiled and executed by the JavaScript interpreter.
new ActionJavaScript(
om,javaScript?):ActionJavaScript
Creates a new ActionJavaScript.
ObjectManager that controls the lifetime of the ActionJavaScript.
string
The JavaScript to execute.
ActionJavaScript
ActionBase.constructor
new ActionJavaScript(
javaScript?):ActionJavaScript
Creates a new ActionJavaScript.
string
The JavaScript to execute.
ActionJavaScript
ActionBase.constructor
get id():
number
Gets the reference to the object.
number
get javaScript():
string
Gets or sets the JavaScript to execute.
string
set javaScript(
value):void
Gets or sets the JavaScript to execute.
string
void
get om():
ObjectManager
Gets the owner ObjectManager instance.
free():
void
Detaches the object from the ObjectManager and deallocates its memory, if possible.
void
rebind(
omTo):void
Rebinds the object from the current ObjectManager to the specified one.
The new ObjectManager for the object.
void