sendToWebEngine(name,
event,
data)
|
|
Deprecated. Use vrdWebEngine.sendEvent() instead.
Sends a custom event to a web engine.
Note: there was a necessary change in how the 'data' parameter is
handled internally in VRED 2021.3. 'data' is now no longer quoted. If you
rely on this, please set the content of data in quotes when calling this
function. For more details, please see the 'Custom Javascript events in
Webengines' example in the API V2 documentation.
- Parameters:
name (string) - The name of the web engine.
event (string) - The name of the user event.
data (string) - The string data.
|