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
Hello Shubi,
Hope below links are helpful
https://community.pega.com/support/support-articles/javascript-scroll-bottom-not-working-iac
https://pdn.pega.com/pega-web-mashup-attribute-reference/pega-web-mashup-attribute-reference#data-pega-event-oncustom