Get widgets

Returns a list with general data for all created widget instances.

AlgebraKIT.getWidgets(): <WidgetData[]>

<WidgetData> = {
   id <string>,
   tag <string>,
   attributes: [{key: value}],
   node: <HTMLElement>,


id An ID that is assigned to this widget.
tag The tag name for this widget. Identifies the type of interaction.
attributes List of attributes that are defined on the element.
node The root DOM element of the generated widget.
interaction Indicates whether the widget corresponds to an interactive exercise, or a non-interactive element such as a worked out solution, graph, table, etc.
about algebrakit contact us
Demo +31 85 1308316
Privacy Policy Eindhoven, the Netherlands
Copyright AlgebraKiT 2018