Messages can be sent from your page code to the code in an HTML component and from the HTML component to your page code using the postMessage() and onMessage() functions. To learn more about what code an HTML component can hold, see here.

Get hands-on experience with the HTML Components on our Hello HTML Component example page.

Note: To embed a PDF in an HtmlComponent you must upgrade your site to a Premium Plan.

Was this helpful?