messageHost(...)
Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.
messageHost(msg: string): void;
Sends a message to the app that hosts this experience. Use with the App Embed Component to communicate between a zap experience and the app embedding Zappar technology.
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
msg | string | The message to send to the host app. |