shapelets.apps.DataApp.add_widget_providers#

static DataApp.add_widget_providers(current_dict: dict, providers: dict)#

When any attribute from a widget receives another widget inside, this widget is called a provider. This means that the widget attribute with the provider inside must update its value every time the provider changes. In order to do this, a list of providers is given to the UI. This list contains the id of the provider widget and the target attribute of the current widget. This list looks like: providers: [{

id: 85535b68-2dce-11ed-bd74-00155d7482db, target: title

}]

The list of providers is added to the bind section of the current widget.