You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rescocrm edited this page Aug 2, 2024
·
9 revisions
[v9.0] Raises the global event which can have listeners bound by other iFrames.
Arguments
Argument
Type
Description
eventName
String
Global event name.
args
Object
Any object that has to be passed to all event listeners. This object is stringified JSON and passed to another iFrame listening on the global event.
This example demonstrates how to raise a custom global event. Other iFrame can register the callback which will be then called with specified parameters. See onGlobalEvent for example of registering such an event.
MobileCRM.bridge.raiseGlobalEvent("MyCustomEvent",{testTitle: "My Title",testData: {aaa: 1,bbb: 2},testDirectVal: 666,});