How to raise custom event from app-flow.js file in VBCS appn
Summary
How to raise custom event from app-flow.js file in VBCS appnContent
Hi,
I want to programatically raise a custom event from app-flow.js file using below syntax.
var AppModule = function AppModule(context) {
this.eventHelper = context.getEventHelper();
this.eventHelper.fireCustomEvent("setBrowserLocaleEvent", e);
}
But context object passed in the constructor shows as undefined.
The same works if we raise the custom event from page level (context object gets the data).
Could you please help here.
Thanks,
Sweta
Version
19.3.1.3
Tagged:
0