Listen signal
This page details the requirements to integrate the listen signal which is used to respond to user interaction with the panel and perform your application specific logic.
Using listen signal
listen signal/* protection-offer example */
window.signalLayer.push({
signal: "listen",
element: "xce-protection-offer",
onChange: (args) => {
if(args.selectedOption !== "reject"){
//Customer has selected a policy
//List of selected policies available in args.selectedPolicies
} else {
//Customer has said no to a policy
}
},
});selectedOption
selectedProducts
XCover product metadata schema:
Modal element
Last updated