Skip to content

AllScriptEventHandlers ​

Extends ​

Properties ​

alert() ​

alert: (msg: string) => Promise<void>

Parameters ​

• msg: string

Returns ​

Promise<void>

Inherited from ​

ScriptEventHandlers.alert


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 ​

ScriptEventHandlers.log


request() ​

request: (arg1: any, arg2: any, arg3: any) => Promise<any>

Parameters ​

• arg1: any

• arg2: any

• arg3: any

Returns ​

Promise<any>

Inherited from ​

ScriptEventHandlers.request


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 ​

ScriptEventHandlers.setCookie


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>

Inherited from ​

ScriptEventHandlers.updateActiveEnvironment