API Reference

Initialization API


window.Glyph.initWidget(options)Promise<{ destroyReactIframe }>

  • Initializes the widget, injects the modal UI, and opens the embedded iframe UI

  • Returns small helpers for iframe lifecycle control

  • Uses an internal default UI host: https://test-glyph-app-ui.safle.com

Public API


After the CDN script loads, the following methods are available on window.Glyph:

initWidget(options)

See above. Returns { destroyReactIframe }.

destroyReactIframe()

Removes the embedded iframe and overlay, and restores page scroll state.

Last updated