Skip to content

Frontend API Reference

Enumerations

Classes

Interfaces

Functions

addHook

addHook(name, scope, func): void

Helper method to Register a Hook which will be executed when Certain Conditions are met.

Parameters

Name Type Description
name string the namespace of the Hook, see AvailableHooks to know which Hooks already exist.
scope any the scope of the function to be executed, needed to set a "this" context
func (...params: any) => void the function to be executed when the Hook is called

Returns

void

Defined in

index.ts:35


initEventHandlers

initEventHandlers(api, regExpMap?): void | EventHandlerMeta[]

Parameters

Name Type
api EcomFSXAProxyApi
regExpMap? RegExpMap

Returns

void | EventHandlerMeta[]

Defined in

index.ts:18


Last update: October 13, 2022