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>,
   interaction:<boolean>
}

Returns

id An ID that is assigned to this widget. Use this ID to register events, send commands or destroy the 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
Contact info@algebrakit.nl
Demo +31 624827648
Privacy Policy Eindhoven, the Netherlands
Copyright AlgebraKiT 2018