JavaScriptAction

class JavaScriptAction @JvmOverloads constructor(val script: String, subActions: List<Action> = emptyList()) : Action

Action that should trigger execution of JavaScript embedded in it.

Constructors

Link copied to clipboard
constructor(script: String, subActions: List<Action> = emptyList())

Properties

Link copied to clipboard

The JavaScript code to execute when this action is triggered.

Link copied to clipboard
open override val type: ActionType

Returns type of action to make down-casting easier.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Compares this JavaScript action to the specified object for equality.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for this JavaScript action.