Toaster Buttons event capture

On the WIdgets.Toaster configuration we have possibility to set binary buttons. It is mentioned in the documentation: Documentation:GWC:WidgetsAPI:ToasterCommands:Current - Genesys Documentation

buttons:{

type: 'binary',
primary: 'Accept',
secondary: 'Decline'
}

However we do have difficulty to capture the OnClick event on the specified buttons.
Could you please give a short working example how to capture the Accept or Decline button press from the Widget which is the general Genesys conform one? I do not want to do random JQuery manipulation.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.