toggle menu
pspdfkit
PSPDFKit
switch theme
search in API
pspdfkit
/
com.pspdfkit.annotations.actions
/
JavaScriptAction
Java
Script
Action
class
JavaScriptAction
:
Action
Action that should trigger execution of JavaScript embedded in it.
Members
Constructors
Java
Script
Action
Link copied to clipboard
constructor
(
@
NonNull
script
:
String
)
Constructs the JavaScript action with given script.
constructor
(
@
Nullable
script
:
String
,
@
Nullable
subActions
:
List
<
Action
>
)
Constructs the JavaScript action with given script.
Properties
script
Link copied to clipboard
@
NonNull
@get:
NonNull
val
script
:
String
Functions
equals
Link copied to clipboard
open
fun
equals
(
o
:
Any
)
:
Boolean
get
Type
Link copied to clipboard
@
NonNull
open
fun
getType
(
)
:
ActionType
Returns type of action to make down-casting easier.
hash
Code
Link copied to clipboard
open
fun
hashCode
(
)
:
Int