How to create custom event to Mashup
Hi team,
I am looking for how to generate a custom event to our Pega Mashup. I have read below documents but is there any exsample code to tell us how to genereate the custom event?
data-pega-event-oncustom
The name of a JavaScript function defined in the page JavaScript that is called in response to a custom event generated by page content. The event is generated by harness content using pega.desktop.gadgetCustomEvent(string)
.
thanks