Skip to main content

Widget modal

To open scena widget as a modal, add following code with widget key-id

<script defer src="https://scena.link/app.js"></script>
<scena-ai-modal-trigger key-id="[key-id]" height="112" width="112"></scena-ai-modal-trigger>

This will render clickable inline block with specified height and width size.

Open modal programmatically‚Äč

<script defer src="https://scena.link/app.js"></script>
window.scena = window.scena || [];
window.scena.push({ type: "modal", keyId: "[key-id]" });