window.Glyph.initWidget(options) → Promise<{ destroyReactIframe }>
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://ui.glyph.network/arrow-up-right
After the CDN script loads, the following methods are available on window.Glyph:
window.Glyph
initWidget(options)
See above. Returns { destroyReactIframe }.
{ destroyReactIframe }
destroyReactIframe()
Removes the embedded iframe and overlay, and restores page scroll state.
Last updated 1 month ago