• Entry-point for high level API to render a widget using the instance of Widgets created when you call #init init.

    Read the render docs.

    Parameters

    Returns Promise<WidgetResult | undefined> | undefined

    Example

    squatch.widget().then(res => {
    const widget = res.widget
    }).catch(e => console.error("Did not render widget:", e))

Generated using TypeDoc