AllScriptEventHandlers ​
Extends ​
Properties ​
alert() ​
alert: (
msg
:string
) =>Promise
<void
>
Parameters ​
• msg: string
Returns ​
Promise
<void
>
Inherited from ​
executeComplete() ​
executeComplete: (
data
:ScriptContextData
) =>void
Parameters ​
• data: ScriptContextData
Returns ​
void
getStorageItem() ​
getStorageItem: (
key
:string
) =>Promise
<unknown
>
Parameters ​
• key: string
Returns ​
Promise
<unknown
>
Inherited from ​
ScriptEventHandlers
.getStorageItem
log() ​
log: (
d
:unknown
) =>Promise
<void
>
Parameters ​
• d: unknown
Returns ​
Promise
<void
>
Inherited from ​
request() ​
request: (
arg1
:any
,arg2
:any
,arg3
:any
) =>Promise
<any
>
Parameters ​
• arg1: any
• arg2: any
• arg3: any
Returns ​
Promise
<any
>
Inherited from ​
scriptError() ​
scriptError: (
err
:Error
) =>void
Parameters ​
• err: Error
Returns ​
void
setCookie() ​
setCookie: (
key
:string
,value
:string
,options
?:CookieOptions
) =>Promise
<void
>
Parameters ​
• key: string
• value: string
• options?: CookieOptions
Returns ​
Promise
<void
>
Inherited from ​
setStorageItem() ​
setStorageItem: (
key
:string
,value
:unknown
) =>Promise
<void
>
Parameters ​
• key: string
• value: unknown
Returns ​
Promise
<void
>
Inherited from ​
ScriptEventHandlers
.setStorageItem
updateActiveEnvironment() ​
updateActiveEnvironment: (
environmentData
:Record
<string
,unknown
>) =>Promise
<void
>
Parameters ​
• environmentData: Record
<string
, unknown
>
Returns ​
Promise
<void
>