ZAF Client API trigger event
投稿日時:2023年11月28日
Hello, I am trying to trigger an event from the ticket/user sidebar using the ZAF Client like this https://developer.zendesk.com/api-reference/apps/apps-core-api/client_api/#clienttriggername-data
client.trigger('open_flex_popover');
And catch it in a different place (Twilio Flex Plugin) using another ZAF Client.
Since this happens in the same browser window, I was expecting to be able to catch the action, but it doesn't seem to work.
this.zaf.on('open_flex_popover', function() {
console.log('opening!')
});
If I am triggering and listening in the same html file, it works, but that doesn't help me much.
Do you have any idea why the action is not caught? Do you have any alternatives? Ideas? I am kind of stuck.
0
2
0件のコメント
サインインしてコメントを残します。