This demo uses an <iframe> element to host the app inside another webpage. The control on this page will set a dashboard global named @text to the value of the textbox when you press "apply".
<iframe>
@text
@text: