Function addWidgetListener

  • Add a widget listener

    Returns Promise<void>

    Since

    0.1.0

    Example

    function widgetListener({event, message}){
    // your custom logic
    }
    addWidgetListener({
    widgetId: "<Your widget Id>",
    widgetKind: "<Your widget kind>"
    }, widgetListener)

Generated using TypeDoc